event-class.h: doc: reorder functions
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 22 Nov 2016 23:07:34 +0000 (18:07 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 27 May 2017 18:09:07 +0000 (14:09 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/babeltrace/ctf-ir/event-class.h

index 0555ad398d6a0eff808e4796a52ef202e26fb219..7478e49e57ecbc28b43578ec6e2e2205156c2466 100644 (file)
@@ -355,6 +355,50 @@ extern int bt_ctf_event_class_set_attribute(
 @{
 */
 
+/**
+@brief Returns the context field type of the CTF IR event class
+       \p event_class.
+
+@param[in] event_class Event class of which to get the
+                       context field type.
+@returns               Context field type of \p event_class,
+                       or \c NULL on error.
+
+@prenotnull{event_class}
+@postsuccessrefcountretinc
+
+@sa bt_ctf_event_class_set_context_type(): Sets the context field
+       type of a given event class.
+*/
+extern struct bt_ctf_field_type *bt_ctf_event_class_get_context_type(
+               struct bt_ctf_event_class *event_class);
+
+/**
+@brief Sets the context field type of the CTF IR event class
+       \p event_class to \p context_type.
+
+As of Babeltrace \btversion, \p context_type \em must be a
+CTF IR structure field type object.
+
+@param[in] event_class Event class of which to set the context
+                       field type.
+@param[in] context_type        Context field type.
+@returns               0 on success, or a negative value on error.
+
+@prenotnull{event_class}
+@prenotnull{context_type}
+@prehot{event_class}
+@preisstructft{context_type}
+@postrefcountsame{event_class}
+@postsuccessrefcountinc{context_type}
+
+@sa bt_ctf_event_class_get_context_type(): Returns the context field
+       type of a given event class.
+*/
+extern int bt_ctf_event_class_set_context_type(
+               struct bt_ctf_event_class *event_class,
+               struct bt_ctf_field_type *context_type);
+
 /**
 @brief Returns the payload field type of the CTF IR event class
        \p event_class.
@@ -516,50 +560,6 @@ extern int bt_ctf_event_class_add_field(struct bt_ctf_event_class *event_class,
                struct bt_ctf_field_type *field_type,
                const char *name);
 
-/**
-@brief Returns the context field type of the CTF IR event class
-       \p event_class.
-
-@param[in] event_class Event class of which to get the
-                       context field type.
-@returns               Context field type of \p event_class,
-                       or \c NULL on error.
-
-@prenotnull{event_class}
-@postsuccessrefcountretinc
-
-@sa bt_ctf_event_class_set_context_type(): Sets the context field
-       type of a given event class.
-*/
-extern struct bt_ctf_field_type *bt_ctf_event_class_get_context_type(
-               struct bt_ctf_event_class *event_class);
-
-/**
-@brief Sets the context field type of the CTF IR event class
-       \p event_class to \p context_type.
-
-As of Babeltrace \btversion, \p context_type \em must be a
-CTF IR structure field type object.
-
-@param[in] event_class Event class of which to set the context
-                       field type.
-@param[in] context_type        Context field type.
-@returns               0 on success, or a negative value on error.
-
-@prenotnull{event_class}
-@prenotnull{context_type}
-@prehot{event_class}
-@preisstructft{context_type}
-@postrefcountsame{event_class}
-@postsuccessrefcountinc{context_type}
-
-@sa bt_ctf_event_class_get_context_type(): Returns the context field
-       type of a given event class.
-*/
-extern int bt_ctf_event_class_set_context_type(
-               struct bt_ctf_event_class *event_class,
-               struct bt_ctf_field_type *context_type);
-
 /** @} */
 
 /** @} */
This page took 0.027766 seconds and 4 git commands to generate.