From f716446fa869ef4dc9663d69a3e4364ef2dcbb6b Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 3 Apr 2024 23:55:17 +0800 Subject: use xmi.h --- tests/projects/other/native_module/modules/shared/zoo/src/zoo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/projects/other/native_module/modules/shared') 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 472d5f12d..6b278fd25 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 @@ -24,8 +24,8 @@ int xmiopen_zoo(lua_State* lua) { {"sub", sub}, {NULL, NULL} }; -#if 0 lua_newtable(lua); +#if 0 luaL_setfuncs(lua, funcs, 0); #endif return 1; -- cgit v1.3.1