projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure: enable -Wsuggest-attribute=format
[babeltrace.git]
/
src
/
bindings
/
python
/
bt2
/
bt2
/
native_bt.i
diff --git
a/src/bindings/python/bt2/bt2/native_bt.i
b/src/bindings/python/bt2/bt2/native_bt.i
index 2300cee42f65c856576a88166f65fb8871a6b5c2..700c1d1712a1b9ce4ee4d5d0cf277b50148ba5a4 100644
(file)
--- a/
src/bindings/python/bt2/bt2/native_bt.i
+++ b/
src/bindings/python/bt2/bt2/native_bt.i
@@
-207,6
+207,12
@@
void bt_bt2_exit_handler(void);
*/
#define __BT_IN_BABELTRACE_H
*/
#define __BT_IN_BABELTRACE_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 types */
%include <babeltrace2/types.h>
This page took
0.023878 seconds
and
4
git commands to generate.