diff options
| author | ruki <[email protected]> | 2022-04-07 21:01:47 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-04-07 21:01:47 +0800 |
| commit | 424b7f895f87551bc2ad5629053733df82994e3a (patch) | |
| tree | 9536bb72b209c08437c968042d1b8f5f9b09b8dc /core/src | |
| parent | cb099dedd27ecfb5d52d5991b44de22eb86ff336 (diff) | |
improve libc.memmov
Diffstat (limited to 'core/src')
| -rw-r--r-- | core/src/xmake/engine.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/xmake/engine.c b/core/src/xmake/engine.c index a2b43e12b..19bb3c1b7 100644 --- a/core/src/xmake/engine.c +++ b/core/src/xmake/engine.c @@ -232,6 +232,7 @@ tb_int_t xm_semver_select(lua_State* lua); tb_int_t xm_libc_malloc(lua_State* lua); tb_int_t xm_libc_free(lua_State* lua); tb_int_t xm_libc_memcpy(lua_State* lua); +tb_int_t xm_libc_memmov(lua_State* lua); tb_int_t xm_libc_memset(lua_State* lua); tb_int_t xm_libc_strndup(lua_State* lua); tb_int_t xm_libc_dataptr(lua_State* lua); @@ -443,6 +444,7 @@ static luaL_Reg const g_libc_functions[] = , { "free", xm_libc_free } , { "memcpy", xm_libc_memcpy } , { "memset", xm_libc_memset } +, { "memmov", xm_libc_memmov } , { "strndup", xm_libc_strndup } , { "dataptr", xm_libc_dataptr } , { "byteof", xm_libc_byteof } |
