projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: python: suppress -Wmissing-prototypes warning with SWIG 3.0.10
[lttng-tools.git]
/
extras
/
bindings
/
swig
/
python
/
lttng.i.in
diff --git
a/extras/bindings/swig/python/lttng.i.in
b/extras/bindings/swig/python/lttng.i.in
index b6b6f960eba7720955611e3adbeceaa3679195e2..684482e1fd2c06605e64ad2cc91e10f55887847f 100644
(file)
--- a/
extras/bindings/swig/python/lttng.i.in
+++ b/
extras/bindings/swig/python/lttng.i.in
@@
-32,6
+32,11
@@
multiple concurrent processes and threads. Tracing across multiple systems is al
// Avoid -Wmissing-declarations warning.
PyObject *SWIG_init(void);
// Avoid -Wmissing-declarations warning.
PyObject *SWIG_init(void);
+
+// Avoid -Wmissing-prototypes warning with SWIG 3.0.10.
+#if SWIG_VERSION < 0x30012
+static size_t SWIG_strnlen(const char* s, size_t maxlen);
+#endif
%}
typedef unsigned int uint32_t;
%}
typedef unsigned int uint32_t;
This page took
0.02398 seconds
and
4
git commands to generate.