diff options
| author | ruki <[email protected]> | 2024-04-05 21:05:07 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-04-05 21:05:07 +0800 |
| commit | 05f7602a1d195308e8c220faee6f18cbf65e6781 (patch) | |
| tree | 85a28f4fb184703b86f31c01de6bb3ea6ccc051f /core/src/xmake/package | |
| parent | 1aeccb994e65492f9b24125e1930af19de284017 (diff) | |
add call functions
Diffstat (limited to 'core/src/xmake/package')
| -rw-r--r-- | core/src/xmake/package/loadxmi.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/src/xmake/package/loadxmi.c b/core/src/xmake/package/loadxmi.c index 78fba0c76..b9572d58d 100644 --- a/core/src/xmake/package/loadxmi.c +++ b/core/src/xmake/package/loadxmi.c @@ -163,6 +163,12 @@ tb_int_t xm_package_loadxmi(lua_State* lua) s_luaops._lua_toclose = &lua_toclose; s_luaops._lua_closeslot = &lua_closeslot; + // 'load' and 'call' functions + s_luaops._lua_callk = &lua_callk; + s_luaops._lua_pcallk = &lua_pcallk; + s_luaops._lua_load = &lua_load; + s_luaops._lua_dump = &lua_dump; + // luaL functions s_luaops._luaL_getmetafield = &luaL_getmetafield; s_luaops._luaL_callmeta = &luaL_callmeta; |
