API doc: add missing @postrefcountsame conditions
[babeltrace.git] / include / babeltrace / ctf-ir / visitor.h
index 293d305dcfbd0c9260f49fe407dd5e0b31978f98..014333a66c9653d7601f07af55c5927c6353e24b 100644 (file)
@@ -149,11 +149,16 @@ enum bt_ctf_object_type bt_ctf_object_get_type(struct bt_ctf_object *object);
 @brief Returns the CTF IR object wrapped by the CTF IR object
        wrapper \p object.
 
+The reference count of \p object is \em not incremented by this
+function. On success, you must call bt_get() on the return value to
+have your own reference.
+
 @param[in] object      Object wrapper of which to get the wrapped
                        CTF IR object.
 @returns               CTF IR object wrapped by \p object.
 
 @prenotnull{object}
+@post The reference count of the returned object is not modified.
 
 @sa bt_ctf_object_get_type(): Returns the type of a given
        CTF IR object wrapper.
This page took 0.024567 seconds and 4 git commands to generate.