lib: make can_seek_beginning and can_seek_ns_from_origin methods return a status
[babeltrace.git] / src / bindings / python / bt2 / bt2 / native_bt.i
index 6d9a3696c8045b86b75c1ea16e9d18b4f2869166..4e48876848d30347539003364805141c17abac1a 100644 (file)
@@ -139,6 +139,16 @@ typedef uint64_t bt_listener_id;
                        SWIG_From_unsigned_SS_long_SS_long((uint64_t) (*$1)));
 }
 
+/* Output argument typemap for initialized bt_boot output parameter (always appends) */
+%typemap(in, numinputs=0) (bt_bool *) (bt_bool temp) {
+       $1 = &temp;
+}
+
+%typemap(argout) bt_bool * {
+       $result = SWIG_Python_AppendOutput(resultobj,
+                       SWIG_From_bool(*$1));
+}
+
 /* Input argument typemap for UUID bytes */
 %typemap(in) bt_uuid {
        $1 = (unsigned char *) PyBytes_AsString($input);
@@ -204,6 +214,7 @@ void bt_bt2_exit_handler(void);
 %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"
@@ -221,6 +232,7 @@ void bt_bt2_exit_handler(void);
 %include "native_bt_logging.i"
 %include "native_bt_message.i"
 %include "native_bt_message_iterator.i"
+%include "native_bt_mip.i"
 %include "native_bt_packet.i"
 %include "native_bt_plugin.i"
 %include "native_bt_port.i"
This page took 0.033713 seconds and 4 git commands to generate.