diff options
| author | ruki <[email protected]> | 2024-04-05 22:56:55 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-04-05 22:56:55 +0800 |
| commit | aec0f76dd46273b48619dc4aa5a8aad22f2b3aad (patch) | |
| tree | ff5f7c1f553b82261cbdc6bc664f09b0d833c4d9 /core/src/xmake | |
| parent | 448b9bb740e803c88faffb1cf15c5f46a8eb979b (diff) | |
update xmi.h
Diffstat (limited to 'core/src/xmake')
| -rw-r--r-- | core/src/xmake/package/loadxmi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/xmake/package/loadxmi.c b/core/src/xmake/package/loadxmi.c index 9dfbbf608..83c4294cc 100644 --- a/core/src/xmake/package/loadxmi.c +++ b/core/src/xmake/package/loadxmi.c @@ -91,28 +91,28 @@ tb_int_t xm_package_loadxmi(lua_State* lua) s_luaops._lua_getglobal = &lua_getglobal; s_luaops._lua_geti = &lua_geti; s_luaops._lua_rawgetp = &lua_rawgetp; + s_luaops._lua_getiuservalue = &lua_getiuservalue; + s_luaops._lua_newuserdatauv = &lua_newuserdatauv; #endif s_luaops._lua_gettable = &lua_gettable; s_luaops._lua_getfield = &lua_getfield; s_luaops._lua_rawget = &lua_rawget; s_luaops._lua_rawgeti = &lua_rawgeti; s_luaops._lua_createtable = &lua_createtable; - s_luaops._lua_newuserdatauv = &lua_newuserdatauv; s_luaops._lua_getmetatable = &lua_getmetatable; - s_luaops._lua_getiuservalue = &lua_getiuservalue; // set functions #ifndef XMI_USE_LUAJIT s_luaops._lua_setglobal = &lua_setglobal; s_luaops._lua_seti = &lua_seti; s_luaops._lua_rawsetp = &lua_rawsetp; + s_luaops._lua_setiuservalue = &lua_setiuservalue; #endif s_luaops._lua_settable = &lua_settable; s_luaops._lua_setfield = &lua_setfield; s_luaops._lua_rawset = &lua_rawset; s_luaops._lua_rawseti = &lua_rawseti; s_luaops._lua_setmetatable = &lua_setmetatable; - s_luaops._lua_setiuservalue = &lua_setiuservalue; // access functions s_luaops._lua_isnumber = &lua_isnumber; |
