ir: validate field types on field creation
[babeltrace.git] / include / babeltrace / ctf-ir / event-types.h
index fbef87c8e08818886a9f3607f18f35bb2445d37e..2dfa433e52e60f27f3f02cb798a34eff19b2de0c 100644 (file)
@@ -752,8 +752,8 @@ extern int bt_ctf_field_type_set_byte_order(struct bt_ctf_field_type *type,
  * @param type_a Field type A.
  * @param type_b Field type B.
  *
- * Returns 0 if both field types are semantically equivalent, or a
- * negative value when they are not equivalent or on error.
+ * Returns 0 if both field types are semantically equivalent, a positive
+ * value if they are not equivalent, or a negative value on error.
  */
 extern int bt_ctf_field_type_compare(struct bt_ctf_field_type *type_a,
                struct bt_ctf_field_type *type_b);
This page took 0.026312 seconds and 4 git commands to generate.