API doc: add missing @postrefcountsame conditions
[babeltrace.git] / include / babeltrace / ctf-ir / packet.h
index 126fa20331885a6a12ad5ad7c88796b7219c3bdd..81ca4c20dade78698f6304113760d3637a3cf06c 100644 (file)
@@ -39,6 +39,10 @@ extern "C" {
 @ingroup ctfir
 @brief CTF IR packet.
 
+@code
+#include <babeltrace/ctf-ir/packet.h>
+@endcode
+
 A CTF IR <strong><em>packet</em></strong> is a container of packet
 fields, that is, of the <strong>trace packet header</strong> and
 <strong>stream packet context</strong> fields.
@@ -124,6 +128,7 @@ the packet object in the first place with bt_ctf_packet_create().
 @returns               Parent stream of \p packet, or \c NULL on error.
 
 @prenotnull{packet}
+@postrefcountsame{packet}
 @postsuccessrefcountretinc
 */
 extern struct bt_ctf_stream *bt_ctf_packet_get_stream(
@@ -147,6 +152,7 @@ extern struct bt_ctf_stream *bt_ctf_packet_get_stream(
                        field is not set or on error.
 
 @prenotnull{packet}
+@postrefcountsame{packet}
 @postsuccessrefcountretinc
 
 @sa bt_ctf_packet_set_header(): Sets the trace packet header
@@ -195,6 +201,7 @@ extern int bt_ctf_packet_set_header(
                        field is not set or on error.
 
 @prenotnull{packet}
+@postrefcountsame{packet}
 @postsuccessrefcountretinc
 
 @sa bt_ctf_packet_set_context(): Sets the stream packet context
This page took 0.024188 seconds and 4 git commands to generate.