diff options
| author | ruki <[email protected]> | 2026-01-04 10:57:32 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-01-04 10:57:32 +0800 |
| commit | f981bdc526667be6eaf8d20b786773a3a28cfb0c (patch) | |
| tree | 651491755e6c5a8c63c1335e08e5a01113a175cd | |
| parent | 2f86f8cddc055908cfa78b62765e46df7fa25712 (diff) | |
fix embed binary
| -rw-r--r-- | core/src/xmake/engine.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/src/xmake/engine.c b/core/src/xmake/engine.c index db8e8b4c1..d46e30a42 100644 --- a/core/src/xmake/engine.c +++ b/core/src/xmake/engine.c @@ -398,7 +398,8 @@ tb_int_t xm_thread_sharedata_set(lua_State *lua); tb_int_t xm_thread_sharedata_get_(lua_State *lua); // open cjson -__tb_extern_c_enter__ tb_int_t luaopen_cjson(lua_State *l); +__tb_extern_c_enter__ +tb_int_t luaopen_cjson(lua_State *l); __tb_extern_c_leave__ /* ////////////////////////////////////////////////////////////////////////////////////// @@ -720,8 +721,10 @@ static lua_State *g_lua = tb_null; // the xmake script files data #ifdef XM_EMBED_ENABLE +__tb_extern_c_enter__ extern tb_byte_t _binary_xmake_xmz_start[]; extern tb_byte_t _binary_xmake_xmz_end[]; +__tb_extern_c_leave__ #endif /* ////////////////////////////////////////////////////////////////////////////////////// |
