summaryrefslogtreecommitdiff
path: root/numpy/distutils/tests/swig_ext/src/zoo.i
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/distutils/tests/swig_ext/src/zoo.i')
-rw-r--r--numpy/distutils/tests/swig_ext/src/zoo.i10
1 files changed, 10 insertions, 0 deletions
diff --git a/numpy/distutils/tests/swig_ext/src/zoo.i b/numpy/distutils/tests/swig_ext/src/zoo.i
new file mode 100644
index 000000000..a029c03e8
--- /dev/null
+++ b/numpy/distutils/tests/swig_ext/src/zoo.i
@@ -0,0 +1,10 @@
+// -*- c++ -*-
+// Example copied from http://linuxgazette.net/issue49/pramode.html
+
+%module example2
+
+%{
+#include "zoo.h"
+%}
+
+%include "zoo.h"