API doc: add missing @postrefcountsame conditions
[babeltrace.git] / include / babeltrace / ctf-ir / event-class.h
index 7478e49e57ecbc28b43578ec6e2e2205156c2466..12e31fcb99a8ec6936493efb991f0e8c9e9c48af 100644 (file)
@@ -43,6 +43,10 @@ extern "C" {
 @ingroup ctfir
 @brief CTF IR event class.
 
+@code
+#include <babeltrace/ctf-ir/event-class.h>
+@endcode
+
 A CTF IR <strong><em>event class</em></strong> is a template that you
 can use to create concrete \link ctfirevent CTF IR events\endlink.
 
@@ -151,6 +155,7 @@ bt_ctf_stream_class_add_event_class().
                        added to a stream class yet or on error.
 
 @prenotnull{event_class}
+@postrefcountsame{event_class}
 @postsuccessrefcountretinc
 
 @sa bt_ctf_stream_class_add_event_class(): Add an event class to
@@ -365,6 +370,7 @@ extern int bt_ctf_event_class_set_attribute(
                        or \c NULL on error.
 
 @prenotnull{event_class}
+@postrefcountsame{event_class}
 @postsuccessrefcountretinc
 
 @sa bt_ctf_event_class_set_context_type(): Sets the context field
@@ -409,6 +415,7 @@ extern int bt_ctf_event_class_set_context_type(
                        or \c NULL on error.
 
 @prenotnull{event_class}
+@postrefcountsame{event_class}
 @postsuccessrefcountretinc
 
 @sa bt_ctf_event_class_set_payload_type(): Sets the payload field
@@ -528,7 +535,6 @@ bt_ctf_field_type_structure_get_field_type_by_name().
 @prenotnull{name}
 @postrefcountsame{event_class}
 @postsuccessrefcountretinc
-
 */
 extern struct bt_ctf_field_type *bt_ctf_event_class_get_field_by_name(
                struct bt_ctf_event_class *event_class, const char *name);
This page took 0.025647 seconds and 4 git commands to generate.