X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Fnative_bt.i;h=2300cee42f65c856576a88166f65fb8871a6b5c2;hb=43c59509042845f8d42c3e99ec74d45fa2dc0908;hp=4e48876848d30347539003364805141c17abac1a;hpb=f2fb1b3297ca0bc13b53189a063b63944be7fae9;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..2300cee4 100644 --- a/src/bindings/python/bt2/bt2/native_bt.i +++ b/src/bindings/python/bt2/bt2/native_bt.i @@ -207,8 +207,8 @@ void bt_bt2_exit_handler(void); */ #define __BT_IN_BABELTRACE_H -/* Property enumeration */ -%include +/* Common types */ +%include /* Common function status codes */ %include @@ -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); + +%}