projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
API doc: add missing @postrefcountsame conditions
[babeltrace.git]
/
include
/
babeltrace
/
ctf-ir
/
visitor.h
diff --git
a/include/babeltrace/ctf-ir/visitor.h
b/include/babeltrace/ctf-ir/visitor.h
index 293d305dcfbd0c9260f49fe407dd5e0b31978f98..014333a66c9653d7601f07af55c5927c6353e24b 100644
(file)
--- a/
include/babeltrace/ctf-ir/visitor.h
+++ b/
include/babeltrace/ctf-ir/visitor.h
@@
-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.
@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}
@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.
@sa bt_ctf_object_get_type(): Returns the type of a given
CTF IR object wrapper.
This page took
0.029657 seconds
and
4
git commands to generate.