git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add SEC stuff
[enigma2.git]
/
lib
/
python
/
swig.h
diff --git
a/lib/python/swig.h
b/lib/python/swig.h
index b5cb77af8d8c2fa09ff8c421bac8d0534c64f245..c9be96958b09a088a90fd199ba13edd00f91f233 100644
(file)
--- a/
lib/python/swig.h
+++ b/
lib/python/swig.h
@@
-4,17
+4,25
@@
#ifdef SWIG
#define TEMPLATE_TYPEDEF(x, y) \
%template(y) x; \
#ifdef SWIG
#define TEMPLATE_TYPEDEF(x, y) \
%template(y) x; \
-typedef x y
+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
#else
#define TEMPLATE_TYPEDEF(x, y) typedef x y
+#define SWIG_ALLOW_OUTPUT_SIMPLE(x)
#endif
#endif
+
#ifdef SWIG
#define SWIG_INPUT INPUT
#define SWIG_OUTPUT OUTPUT
#ifdef SWIG
#define SWIG_INPUT INPUT
#define SWIG_OUTPUT OUTPUT
+#define SWIG_NAMED_OUTPUT(x) OUTPUT
+#define SWIG_VOID(x) void
#else
#define SWIG_INPUT
#define SWIG_OUTPUT
#else
#define SWIG_INPUT
#define SWIG_OUTPUT
+#define SWIG_NAMED_OUTPUT(x) x
+#define SWIG_VOID(x) x
#endif
#endif
#endif
#endif