diff options
| author | ruki <[email protected]> | 2021-09-24 22:41:45 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-09-24 22:41:45 +0800 |
| commit | c2f3f280bcfd82618590e9872ddce19b56940ab0 (patch) | |
| tree | 2a260f12d077ef75faa2d8293521ae42b47e6f6b /tests/projects/swig/python_c/src/example.i | |
| parent | 286e9ba7ef2e83e5222dbaab40160b3c1ac967f5 (diff) | |
add swig.c and swig.cpp rules
Diffstat (limited to 'tests/projects/swig/python_c/src/example.i')
| -rw-r--r-- | tests/projects/swig/python_c/src/example.i | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/projects/swig/python_c/src/example.i b/tests/projects/swig/python_c/src/example.i new file mode 100644 index 000000000..34193edc7 --- /dev/null +++ b/tests/projects/swig/python_c/src/example.i @@ -0,0 +1,11 @@ +%module example +%{ +/* Put headers and other declarations here */ +extern double My_variable; +extern int fact(int); +extern int my_mod(int n, int m); +%} + +extern double My_variable; +extern int fact(int); +extern int my_mod(int n, int m); |
