tests/lib: pass C++ wrapper types to `RunIn` callbacks
[babeltrace.git] / tests / lib / conds / utils.hpp
index bab8caeac42737f25268f4f1154c3105e069b863..6ba7401fc66a0f94e167eabf7557e4fdd72190c6 100644 (file)
@@ -7,6 +7,10 @@
 #ifndef TESTS_LIB_CONDS_UTILS_H
 #define TESTS_LIB_CONDS_UTILS_H
 
+#include <babeltrace2/babeltrace.h>
+
+#include "cpp-common/bt2/self-component-port.hpp"
+
 enum cond_trigger_func_type
 {
     COND_TRIGGER_FUNC_TYPE_BASIC,
@@ -20,7 +24,7 @@ enum cond_trigger_type
 };
 
 typedef void (*cond_trigger_basic_func)(void);
-typedef void (*cond_trigger_run_in_comp_cls_init_func)(bt_self_component *);
+typedef void (*cond_trigger_run_in_comp_cls_init_func)(bt2::SelfComponent);
 
 struct cond_trigger
 {
This page took 0.030769 seconds and 4 git commands to generate.