projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix -Wmissing-prototypes/-Wmissing-declarations warnings
[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 4e48876848d30347539003364805141c17abac1a..919fc1dc8988bd9683605704bd4cd84eb0db7fd4 100644
(file)
--- 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);
+
+%}
This page took
0.024764 seconds
and
4
git commands to generate.