add auto vcr switching support (needs new drivers (fp.ko))
[vuplus_dvbapp] / lib / python / swig.h
1 #ifndef __lib_python_swig_h
2 #define __lib_python_swig_h
3
4 #ifdef SWIG
5 #define TEMPLATE_TYPEDEF(x, y) \
6 %template(y) x; \
7 typedef x y; \
8 %typemap_output_ptr(x);
9 #define SWIG_ALLOW_OUTPUT_SIMPLE(x) %typemap_output_simple(x);
10 #else
11 #define TEMPLATE_TYPEDEF(x, y) typedef x y
12 #define SWIG_ALLOW_OUTPUT_SIMPLE(x) 
13 #endif
14
15
16 #ifdef SWIG
17 #define SWIG_INPUT INPUT
18 #define SWIG_OUTPUT OUTPUT
19 #define SWIG_NAMED_OUTPUT(x) OUTPUT
20 #define SWIG_VOID(x) void
21 #else
22 #define SWIG_INPUT
23 #define SWIG_OUTPUT
24 #define SWIG_NAMED_OUTPUT(x) x
25 #define SWIG_VOID(x) x
26 #endif
27
28 #endif