summaryrefslogtreecommitdiff
path: root/Examples/octave/simple/example.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/octave/simple/example.i')
-rw-r--r--Examples/octave/simple/example.i2
1 files changed, 2 insertions, 0 deletions
diff --git a/Examples/octave/simple/example.i b/Examples/octave/simple/example.i
index 127bfcd84..a3006f282 100644
--- a/Examples/octave/simple/example.i
+++ b/Examples/octave/simple/example.i
@@ -1,6 +1,8 @@
/* File : example.i */
%module swigexample
+%feature("autodoc", 1);
+
%inline %{
extern int gcd(int x, int y);
extern double Foo;