SoW-2019-0002: Dynamic Snapshot
[lttng-tools.git] / extras / bindings / swig / python / lttng.i.in
index f4aee119129f442d393477208694b4c2b882f7cd..b6b6f960eba7720955611e3adbeceaa3679195e2 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2012 Danny Serres <danny.serres@efficios.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0-only
+ *
+ */
+
 %define DOCSTRING
 "LTTNG_VERSION_STR
 
@@ -22,6 +29,9 @@ multiple concurrent processes and threads. Tracing across multiple systems is al
 // This makes the typemap code useable with both Python 2 and 3.
 #define PyInt_AsSsize_t PyLong_AsSsize_t
 #endif
+
+// Avoid -Wmissing-declarations warning.
+PyObject *SWIG_init(void);
 %}
 
 typedef unsigned int uint32_t;
This page took 0.023527 seconds and 5 git commands to generate.