Unify reference counting using a common bt_object base
[babeltrace.git] / include / babeltrace / ctf-writer / writer-internal.h
index 388ff0d1a9893cc5b7a853ed33d64cb813c03f80..2857bdd939615794cfcc82054df94650df2c536d 100644 (file)
  * SOFTWARE.
  */
 
-#include <babeltrace/ctf-writer/ref-internal.h>
 #include <babeltrace/ctf-writer/writer.h>
 #include <babeltrace/babeltrace-internal.h>
 #include <glib.h>
 #include <dirent.h>
 #include <sys/types.h>
 #include <babeltrace/ctf-ir/trace.h>
+#include <babeltrace/object-internal.h>
 
 struct bt_ctf_writer {
-       struct bt_ctf_ref ref_count;
+       struct bt_object base;
        int frozen; /* Protects attributes that can't be changed mid-trace */
        struct bt_ctf_trace *trace;
        GString *path;
This page took 0.022976 seconds and 4 git commands to generate.