X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=extras%2Fbindings%2Fswig%2Fpython%2Flttng.i.in;h=b6b6f960eba7720955611e3adbeceaa3679195e2;hp=f4aee119129f442d393477208694b4c2b882f7cd;hb=refs%2Fheads%2Fsow-2019-0002-rev1;hpb=a593ba5a7ae3cd0598ac2ef83081342cbcae668c diff --git a/extras/bindings/swig/python/lttng.i.in b/extras/bindings/swig/python/lttng.i.in index f4aee1191..b6b6f960e 100644 --- a/extras/bindings/swig/python/lttng.i.in +++ b/extras/bindings/swig/python/lttng.i.in @@ -1,3 +1,10 @@ +/* + * Copyright (C) 2012 Danny Serres + * + * 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;