summaryrefslogtreecommitdiff
path: root/tests/projects/swig/lua_c/src/example.i
diff options
context:
space:
mode:
authorruki <[email protected]>2021-09-27 22:35:24 +0800
committerruki <[email protected]>2021-09-27 22:35:24 +0800
commit9128fe7d5b84a27831ae2535a16547bb0b9b7d8e (patch)
tree299f6a0ff0c871ca149cf327ef9665bae55e6f31 /tests/projects/swig/lua_c/src/example.i
parentd00138d98064b84db0c76dde99587b5ea425fdf4 (diff)
add lua_c swig test
Diffstat (limited to 'tests/projects/swig/lua_c/src/example.i')
-rw-r--r--tests/projects/swig/lua_c/src/example.i6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/projects/swig/lua_c/src/example.i b/tests/projects/swig/lua_c/src/example.i
new file mode 100644
index 000000000..f17b34a82
--- /dev/null
+++ b/tests/projects/swig/lua_c/src/example.i
@@ -0,0 +1,6 @@
+%module example
+%{
+#include "example.h"
+%}
+int gcd(int x, int y);
+extern double Foo;