diff options
| author | ruki <[email protected]> | 2021-09-24 22:45:56 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-09-24 22:45:56 +0800 |
| commit | c3b4b1882e06d80e2a3d2a81e4be594803d56c39 (patch) | |
| tree | 9c8a4f01c417ec60b0b57d118ce5369fcedfac79 /tests/projects/swig/python_cpp/src/example.i | |
| parent | c2f3f280bcfd82618590e9872ddce19b56940ab0 (diff) | |
install swig scripts
Diffstat (limited to 'tests/projects/swig/python_cpp/src/example.i')
| -rw-r--r-- | tests/projects/swig/python_cpp/src/example.i | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/projects/swig/python_cpp/src/example.i b/tests/projects/swig/python_cpp/src/example.i new file mode 100644 index 000000000..34193edc7 --- /dev/null +++ b/tests/projects/swig/python_cpp/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); |
