Unify reference counting using a common bt_object base
[babeltrace.git] / include / babeltrace / ctf-ir / event-fields-internal.h
index 88f372dd47e3225adf003f73e43f640681e3cea6..4dea4a7988e133f2a16ef17a5b49d7ba21542caf 100644 (file)
  * SOFTWARE.
  */
 
-#include <babeltrace/ctf-writer/ref-internal.h>
 #include <babeltrace/ctf-writer/event-fields.h>
+#include <babeltrace/object-internal.h>
 #include <babeltrace/babeltrace-internal.h>
 #include <babeltrace/ctf/types.h>
 #include <glib.h>
 
 struct bt_ctf_field {
-       struct bt_ctf_ref ref_count;
+       struct bt_object base;
        struct bt_ctf_field_type *type;
        int payload_set;
 };
@@ -102,7 +102,4 @@ BT_HIDDEN
 int bt_ctf_field_serialize(struct bt_ctf_field *field,
                struct ctf_stream_pos *pos);
 
-BT_HIDDEN
-struct bt_ctf_field *bt_ctf_field_copy(struct bt_ctf_field *field);
-
 #endif /* BABELTRACE_CTF_WRITER_EVENT_FIELDS_INTERNAL_H */
This page took 0.024147 seconds and 4 git commands to generate.