X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=include%2Fbabeltrace%2Fctf-ir%2Fvisitor.h;h=014333a66c9653d7601f07af55c5927c6353e24b;hb=c2f29fb98a1e9088434fe8872d68695afd8e9dd3;hp=293d305dcfbd0c9260f49fe407dd5e0b31978f98;hpb=6dd2bd0c811d382f28ccb20a74ed56b68ef5eb01;p=babeltrace.git diff --git a/include/babeltrace/ctf-ir/visitor.h b/include/babeltrace/ctf-ir/visitor.h index 293d305d..014333a6 100644 --- 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. +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.