X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Fnative_bt.i;h=700c1d1712a1b9ce4ee4d5d0cf277b50148ba5a4;hb=8b305066676fc7aa433e8eb668f9de8802008025;hp=919fc1dc8988bd9683605704bd4cd84eb0db7fd4;hpb=7c7301d5827bd10ec7c34da7ffc5fe74e5047d38;p=babeltrace.git diff --git a/src/bindings/python/bt2/bt2/native_bt.i b/src/bindings/python/bt2/bt2/native_bt.i index 919fc1dc..700c1d17 100644 --- a/src/bindings/python/bt2/bt2/native_bt.i +++ b/src/bindings/python/bt2/bt2/native_bt.i @@ -207,8 +207,14 @@ void bt_bt2_exit_handler(void); */ #define __BT_IN_BABELTRACE_H -/* Property enumeration */ -%include +/* + * 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 /* Common function status codes */ %include