X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-ir%2Ffields.h;h=cbed745a17d180b26868149ca6d08c5c07af8284;hb=8c18d80b69a10f94980d33e6f1c1bdb26b447487;hp=1b1ac8c2c8bcb53f86131ba5e62a370a57df472a;hpb=faec0807cd032e833756c134daecb3668a780cf9;p=babeltrace.git diff --git a/include/babeltrace/ctf-ir/fields.h b/include/babeltrace/ctf-ir/fields.h index 1b1ac8c2..cbed745a 100644 --- a/include/babeltrace/ctf-ir/fields.h +++ b/include/babeltrace/ctf-ir/fields.h @@ -460,25 +460,6 @@ extern int bt_ctf_field_is_variant(struct bt_ctf_field *field); */ extern struct bt_ctf_field *bt_ctf_field_copy(struct bt_ctf_field *field); -/* - * bt_ctf_field_get and bt_ctf_field_put: increment and decrement the - * field's reference count. - * - * You may also use bt_ctf_get() and bt_ctf_put() with field objects. - * - * These functions ensure that the field won't be destroyed when it - * is in use. The same number of get and put (plus one extra put to - * release the initial reference done at creation) have to be done to - * destroy a field. - * - * When the field's reference count is decremented to 0 by a bt_ctf_field_put, - * the field is freed. - * - * @param field Field instance. - */ -extern void bt_ctf_field_get(struct bt_ctf_field *field); -extern void bt_ctf_field_put(struct bt_ctf_field *field); - #ifdef __cplusplus } #endif