aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/swig.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/python/swig.h b/lib/python/swig.h
index 23ce9aad..c9be9695 100644
--- a/lib/python/swig.h
+++ b/lib/python/swig.h
@@ -16,10 +16,12 @@ typedef x y; \
#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
+#define SWIG_NAMED_OUTPUT(x) x
#define SWIG_VOID(x) x
#endif