fix rfmod audio (on and off was swapped)
[enigma2.git] / lib / python / swig.h
1 #ifndef __lib_python_swig_h
2 #define __lib_python_swig_h
3
4 #ifdef SWIG
5 #define SWIG_IGNORE(x) %ignore x
6 #define SWIG_EXTEND(x, code) %extend x { code }
7 #define SWIG_TEMPLATE_TYPEDEF(x, y) %template(y) x; %typemap_output_ptr(x)
8 #define SWIG_TEMPLATE_TYPEDEF_REPLACE(x, y) %template(y##_REPLACE) x; %typemap_output_ptr(x)
9 #define SWIG_ALLOW_OUTPUT_SIMPLE(x) %typemap_output_simple(x)
10 #define SWIG_INPUT INPUT
11 #define SWIG_OUTPUT OUTPUT
12 #define SWIG_NAMED_OUTPUT(x) OUTPUT
13 #define SWIG_VOID(x) void
14 #define SWIG_PYOBJECT(x) PyObject*
15 #else
16 #define SWIG_IGNORE(x)
17 #define SWIG_EXTEND(x, code)
18 #define SWIG_TEMPLATE_TYPEDEF(x, y)
19 #define SWIG_TEMPLATE_TYPEDEF_REPLACE(x, y)
20 #define SWIG_ALLOW_OUTPUT_SIMPLE(x)
21 #define SWIG_INPUT
22 #define SWIG_OUTPUT
23 #define SWIG_NAMED_OUTPUT(x) x
24 #define SWIG_VOID(x) x
25 #define SWIG_PYOBJECT(x) x
26 #endif  // SWIG
27
28 #endif  // __lib_python_swig_h