ir: make trace environment use bt_object
[babeltrace.git] / include / babeltrace / ctf-ir / trace-internal.h
index 2f738bd743e6cc67ba3e39c3c179d721f3c5c09e..b32f7cabc3b9ecc299d7edbe1f1d7614c57cd3fe 100644 (file)
@@ -32,6 +32,7 @@
 #include <babeltrace/ctf-ir/event-types.h>
 #include <babeltrace/ctf-ir/event-fields.h>
 #include <babeltrace/babeltrace-internal.h>
+#include <babeltrace/objects.h>
 #include <glib.h>
 #include <sys/types.h>
 #include <uuid/uuid.h>
@@ -51,7 +52,7 @@ struct bt_ctf_trace {
        int frozen;
        uuid_t uuid;
        int byte_order; /* A value defined in Babeltrace's "endian.h" */
-       GPtrArray *environment; /* Array of pointers to environment_variable */
+       struct bt_object *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.02478 seconds and 4 git commands to generate.