X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Fnative_bt.i;h=919fc1dc8988bd9683605704bd4cd84eb0db7fd4;hb=7c7301d5827bd10ec7c34da7ffc5fe74e5047d38;hp=4e48876848d30347539003364805141c17abac1a;hpb=7757f3190b7d08e5ecab5d50a9c74b19cb98dde0;p=babeltrace.git diff --git a/src/bindings/python/bt2/bt2/native_bt.i b/src/bindings/python/bt2/bt2/native_bt.i index 4e488768..919fc1dc 100644 --- a/src/bindings/python/bt2/bt2/native_bt.i +++ b/src/bindings/python/bt2/bt2/native_bt.i @@ -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); + +%}