summaryrefslogtreecommitdiff
path: root/Examples/d/simple/example.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/d/simple/example.i')
-rw-r--r--Examples/d/simple/example.i7
1 files changed, 7 insertions, 0 deletions
diff --git a/Examples/d/simple/example.i b/Examples/d/simple/example.i
new file mode 100644
index 000000000..24093b9bf
--- /dev/null
+++ b/Examples/d/simple/example.i
@@ -0,0 +1,7 @@
+/* File : example.i */
+%module example
+
+%inline %{
+extern int gcd(int x, int y);
+extern double Foo;
+%}