* SOFTWARE.
*/
-#include <babeltrace/ctf-writer/visitor-internal.h>
-#include <babeltrace/object.h>
+#include <babeltrace2/ctf-writer/visitor-internal.h>
+#include <babeltrace2/ctf-writer/object.h>
BT_HIDDEN
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;
}