X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/d1ba8203832c54b4a98978c6033296183a24b4d0..d0899514fa9495013cb73c8ead8c5a5baaf49111:/lib/python/swig.h 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