X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-ir%2Ffield-types.h;h=3be4a5a0182d48bcc525e1276680b879fdd864dc;hb=8c18d80b69a10f94980d33e6f1c1bdb26b447487;hp=ce9ca72f44ec4b54d89cb2917a27238929334ab8;hpb=faec0807cd032e833756c134daecb3668a780cf9;p=babeltrace.git diff --git a/include/babeltrace/ctf-ir/field-types.h b/include/babeltrace/ctf-ir/field-types.h index ce9ca72f..3be4a5a0 100644 --- a/include/babeltrace/ctf-ir/field-types.h +++ b/include/babeltrace/ctf-ir/field-types.h @@ -941,25 +941,6 @@ extern int bt_ctf_field_type_is_sequence(struct bt_ctf_field_type *type); */ extern int bt_ctf_field_type_is_variant(struct bt_ctf_field_type *type); -/* - * bt_ctf_field_type_get and bt_ctf_field_type_put: increment and decrement - * the field type's reference count. - * - * You may also use bt_ctf_get() and bt_ctf_put() with field type objects. - * - * These functions ensure that the field type won't be destroyed while 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 type. - * - * When the field type's reference count is decremented to 0 by a - * bt_ctf_field_type_put, the field type is freed. - * - * @param type Field type. - */ -extern void bt_ctf_field_type_get(struct bt_ctf_field_type *type); -extern void bt_ctf_field_type_put(struct bt_ctf_field_type *type); - #ifdef __cplusplus } #endif