X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-ir%2Ffield-types.h;h=f7b47a49225300f127b3b44ff47a8c747277c3a5;hb=ac0c6bddcdde51dcbb46fc73c61d4f2330774451;hp=9bca9bc6f8e34342686452986083b31802ea0076;hpb=98a4cbefe4c162067144bf5e1b7341c8dd8767bb;p=babeltrace.git
diff --git a/include/babeltrace/ctf-ir/field-types.h b/include/babeltrace/ctf-ir/field-types.h
index 9bca9bc6..f7b47a49 100644
--- a/include/babeltrace/ctf-ir/field-types.h
+++ b/include/babeltrace/ctf-ir/field-types.h
@@ -721,8 +721,8 @@ An integer field type has the following properties:
Mapped
\link ctfirclockclass CTF IR clock class\endlink
| None
- | bt_ctf_field_type_integer_get_mapped_clock()
- | bt_ctf_field_type_integer_set_mapped_clock()
+ | bt_ctf_field_type_integer_get_mapped_clock_class()
+ | bt_ctf_field_type_integer_set_mapped_clock_class()
@@ -951,15 +951,15 @@ This mapped clock class is only indicative.
@postrefcountsame{int_field_type}
@postsuccessrefcountretinc
-@sa bt_ctf_field_type_integer_set_mapped_clock(): Sets the mapped
+@sa bt_ctf_field_type_integer_set_mapped_clock_class(): Sets the mapped
clock class of a given integer field type.
*/
-extern struct bt_ctf_clock *bt_ctf_field_type_integer_get_mapped_clock(
+extern struct bt_ctf_clock_class *bt_ctf_field_type_integer_get_mapped_clock_class(
struct bt_ctf_field_type *int_field_type);
/**
@brief Sets the \link ctfirclockclass CTF IR clock class\endlink mapped
- to the @intft \p int_field_type to \p mapped_clock.
+ to the @intft \p int_field_type to \p clock_class.
The mapped clock class, if any, indicates the class of the clock which
an integer field described by \p int_field_type should sample or update.
@@ -977,12 +977,12 @@ This mapped clock class is only indicative.
@postrefcountsame{int_field_type}
@postsuccessrefcountinc{clock_class}
-@sa bt_ctf_field_type_integer_get_mapped_clock(): Returns the mapped
+@sa bt_ctf_field_type_integer_get_mapped_clock_class(): Returns the mapped
clock class of a given integer field type.
*/
-extern int bt_ctf_field_type_integer_set_mapped_clock(
+extern int bt_ctf_field_type_integer_set_mapped_clock_class(
struct bt_ctf_field_type *int_field_type,
- struct bt_ctf_clock *clock_class);
+ struct bt_ctf_clock_class *clock_class);
/** @} */
|