Fix -Wmissing-prototypes/-Wmissing-declarations warnings
[babeltrace.git] / src / bindings / python / bt2 / bt2 / native_bt.i
index 4e48876848d30347539003364805141c17abac1a..919fc1dc8988bd9683605704bd4cd84eb0db7fd4 100644 (file)
@@ -243,3 +243,13 @@ void bt_bt2_exit_handler(void);
 %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);
+
+%}
This page took 0.024764 seconds and 4 git commands to generate.