Unify reference counting using a common bt_object base
[babeltrace.git] / include / babeltrace / ctf-ir / trace-internal.h
index 03433a4be873442e3f134f117fc4b32822bb2948..227120dc86817097b8a84ecba2e507d34ca2ec8f 100644 (file)
  * SOFTWARE.
  */
 
-#include <babeltrace/ctf-writer/ref-internal.h>
 #include <babeltrace/ctf-ir/trace.h>
 #include <babeltrace/ctf-ir/event-types.h>
 #include <babeltrace/ctf-ir/event-fields.h>
+#include <babeltrace/object-internal.h>
 #include <babeltrace/babeltrace-internal.h>
-#include <babeltrace/objects.h>
+#include <babeltrace/values.h>
 #include <glib.h>
 #include <sys/types.h>
 #include <uuid/uuid.h>
@@ -48,11 +48,11 @@ enum field_type_alias {
 };
 
 struct bt_ctf_trace {
-       struct bt_ctf_ref ref_count;
+       struct bt_object base;
        int frozen;
        uuid_t uuid;
        int byte_order; /* A value defined in Babeltrace's "endian.h" */
-       struct bt_object *environment;
+       struct bt_value *environment;
        GPtrArray *clocks; /* Array of pointers to bt_ctf_clock */
        GPtrArray *stream_classes; /* Array of ptrs to bt_ctf_stream_class */
        GPtrArray *streams; /* Array of ptrs to bt_ctf_stream */
This page took 0.024622 seconds and 4 git commands to generate.