summaryrefslogtreecommitdiff
path: root/tests/projects/other/native_module/modules
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/other/native_module/modules')
-rw-r--r--tests/projects/other/native_module/modules/shared/zoo/src/zoo.c4
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;
}