CTF writer: use own `bt_ctf_object` and `bt_ctf_value` internal APIs
[babeltrace.git] / lib / ctf-writer / visitor.c
index e416e7be1a7c84606774808524b4157329741933..76b65a0c14fa902caec806ad6042a117130fbacc 100644 (file)
@@ -27,7 +27,7 @@
  */
 
 #include <babeltrace/ctf-writer/visitor-internal.h>
-#include <babeltrace/object.h>
+#include <babeltrace/ctf-writer/object.h>
 
 BT_HIDDEN
 int bt_ctf_visitor_helper(struct bt_ctf_visitor_object *root,
@@ -59,7 +59,7 @@ int bt_ctf_visitor_helper(struct bt_ctf_visitor_object *root,
                        goto end;
                }
                ret = child_visitor(child, visitor, data);
-               BT_OBJECT_PUT_REF_AND_RESET(child);
+               BT_CTF_OBJECT_PUT_REF_AND_RESET(child);
                if (ret) {
                        goto end;
                }
This page took 0.024616 seconds and 4 git commands to generate.