summaryrefslogtreecommitdiff
path: root/Examples/GIFPlot/Php/full/gifplot.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/GIFPlot/Php/full/gifplot.i')
-rw-r--r--Examples/GIFPlot/Php/full/gifplot.i15
1 files changed, 15 insertions, 0 deletions
diff --git a/Examples/GIFPlot/Php/full/gifplot.i b/Examples/GIFPlot/Php/full/gifplot.i
new file mode 100644
index 0000000..5a7f500
--- /dev/null
+++ b/Examples/GIFPlot/Php/full/gifplot.i
@@ -0,0 +1,15 @@
+/* Oh what the heck, let's just grab the whole darn header file
+ and see what happens. */
+
+%module gifplot
+%{
+
+/* Note: You still need this part because the %include directive
+ merely causes SWIG to interpret the contents of a file. It doesn't
+ include the right include headers for the resulting C code */
+
+#include "gifplot.h"
+
+%}
+
+%include gifplot.h