diff options
| author | ruki <[email protected]> | 2021-09-27 23:56:27 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-09-27 23:56:27 +0800 |
| commit | c828253601411a49e036ec4847155991b5e095e2 (patch) | |
| tree | 1aa37add38c03aea031e7ae4bdd5d1bb0054603c | |
| parent | 19b2916a1e97e5c5fb2965cab9b6b4aecd1e03b4 (diff) | |
fix lua swig test
| -rw-r--r-- | tests/projects/swig/lua_c/src/example.i | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/projects/swig/lua_c/src/example.i b/tests/projects/swig/lua_c/src/example.i index 5724920da..e952f6123 100644 --- a/tests/projects/swig/lua_c/src/example.i +++ b/tests/projects/swig/lua_c/src/example.i @@ -1,2 +1,5 @@ %module example -int fact(int n); +%{ +extern int fact(int n); +%} +extern int fact(int n); |
