diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-09-29 22:07:36 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-09-29 22:07:36 +0000 |
| commit | 2a6cdce89409dc0275e23523c3807972a82f2cf7 (patch) | |
| tree | 678a0ca5221d8b6725d064803848ccf535d149b7 /lib/python/swig.h | |
| parent | c60c214a532e2ecb877276c23c6121f363cd62e0 (diff) | |
| download | enigma2-2a6cdce89409dc0275e23523c3807972a82f2cf7.tar.gz enigma2-2a6cdce89409dc0275e23523c3807972a82f2cf7.zip | |
swig: some more simplifying magic
Diffstat (limited to 'lib/python/swig.h')
| -rw-r--r-- | lib/python/swig.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/swig.h b/lib/python/swig.h index ae0bfd07..23ce9aad 100644 --- a/lib/python/swig.h +++ b/lib/python/swig.h @@ -6,10 +6,13 @@ %template(y) x; \ typedef x y; \ %typemap_output_ptr(x); +#define SWIG_ALLOW_OUTPUT_SIMPLE(x) %typemap_output_simple(x); #else #define TEMPLATE_TYPEDEF(x, y) typedef x y +#define SWIG_ALLOW_OUTPUT_SIMPLE(x) #endif + #ifdef SWIG #define SWIG_INPUT INPUT #define SWIG_OUTPUT OUTPUT |
