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);
*/
#define __BT_IN_BABELTRACE_H
-/* Property enumeration */
-%include <babeltrace2/property.h>
+/*
+ * Define `__BT_ATTR_FORMAT_PRINTF` to nothing, otherwise SWIG fails to parse
+ * the included header files that use it.
+ */
+#define __BT_ATTR_FORMAT_PRINTF(_string_index, _first_to_check)
+
+/* Common types */
+%include <babeltrace2/types.h>
/* Common function status codes */
%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"
%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"
%include "native_bt_trace_class.i"
%include "native_bt_value.i"
%include "native_bt_version.i"
+
+%{
+
+/*
+ * This function is defined by SWIG. Declare here to avoid a
+ * -Wmissing-prototypes warning.
+ */
+PyObject *SWIG_init(void);
+
+%}