bt2: _IntegerRangeSet.add(): make it possible to add a single value
[babeltrace.git] / src / bindings / python / bt2 / bt2 / native_bt.i
index 7b032b17bfbac3b3e994414b7ddf67b945007e59..de9ff3c32bb5269ce36382ea5918e217fcfec395 100644 (file)
 #include "common/assert.h"
 #include "py-common/py-common.h"
 
-typedef const uint8_t *bt_uuid;
+/* Used by some interface files */
+#include "native_bt_bt2_objects.h"
+#include "native_bt_log_and_append_error.h"
 %}
 
 typedef int bt_bool;
+typedef uint64_t bt_listener_id;
 
 /* For uint*_t/int*_t */
 %include "stdint.i"
@@ -183,6 +186,10 @@ typedef int bt_bool;
        $result = $1;
 }
 
+/* Native part initialization and finalization */
+void bt_bt2_init_from_bt2(void);
+void bt_bt2_exit_handler(void);
+
 /*
  * Define `__BT_IN_BABELTRACE_H` to allow specific headers to be
  * included. This remains defined as long as we don't include the main
@@ -197,6 +204,7 @@ typedef int bt_bool;
 %include <babeltrace2/func-status.h>
 
 /* Per-module interface files */
+%include "native_bt_autodisc.i"
 %include "native_bt_clock_class.i"
 %include "native_bt_clock_snapshot.i"
 %include "native_bt_component.i"
This page took 0.023515 seconds and 4 git commands to generate.