aboutsummaryrefslogtreecommitdiff
path: root/lib/python/swig.h
blob: b5cb77af8d8c2fa09ff8c421bac8d0534c64f245 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __lib_python_swig_h
#define __lib_python_swig_h

#ifdef SWIG
#define TEMPLATE_TYPEDEF(x, y) \
%template(y) x; \
typedef x y
#else
#define TEMPLATE_TYPEDEF(x, y) typedef x y
#endif

#ifdef SWIG
#define SWIG_INPUT INPUT
#define SWIG_OUTPUT OUTPUT
#else
#define SWIG_INPUT
#define SWIG_OUTPUT
#endif

#endif