diff options
| author | ruki <[email protected]> | 2024-04-04 00:24:53 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-04-04 00:24:53 +0800 |
| commit | b0bc1ce397bb4b700c989df01d11b65b72ca800f (patch) | |
| tree | a8382840fd0c628a8b05b11752f8a8819096fcad /tests/projects | |
| parent | fee2d1b5106761728134c179375c73f9283a7ba1 (diff) | |
fix xmiopen
Diffstat (limited to 'tests/projects')
| -rw-r--r-- | tests/projects/other/native_module/modules/shared/zoo/src/zoo.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/projects/other/native_module/modules/shared/zoo/src/zoo.c b/tests/projects/other/native_module/modules/shared/zoo/src/zoo.c index 26b35f3bc..02458467c 100644 --- a/tests/projects/other/native_module/modules/shared/zoo/src/zoo.c +++ b/tests/projects/other/native_module/modules/shared/zoo/src/zoo.c @@ -18,15 +18,13 @@ static int sub(lua_State* lua) { return 1; } -int xmiopen(zoo, lua_State* lua) { +int luaopen(zoo, lua_State* lua) { static const luaL_Reg funcs[] = { {"add", add}, {"sub", sub}, {NULL, NULL} }; lua_newtable(lua); -#if 0 luaL_setfuncs(lua, funcs, 0); -#endif return 1; } |
