diff options
| author | ruki <[email protected]> | 2021-09-21 00:36:08 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-09-21 00:36:08 +0800 |
| commit | 930124472561d7c4e84ee7fd2b1bee8ac1b64ba2 (patch) | |
| tree | 7e9cc6efb02600b5368ac7a3620d29316d3369ba /core/src/xmake/engine.c | |
| parent | de47ad0121ca4155777005976b05debeda67aca6 (diff) | |
add setbyte
Diffstat (limited to 'core/src/xmake/engine.c')
| -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 e4ac9f0f5..e7c4c9644 100644 --- a/core/src/xmake/engine.c +++ b/core/src/xmake/engine.c @@ -231,6 +231,7 @@ tb_int_t xm_libc_dataptr(lua_State* lua); tb_int_t xm_libc_ptraddr(lua_State* lua); tb_int_t xm_libc_diffptr(lua_State* lua); tb_int_t xm_libc_byteof(lua_State* lua); +tb_int_t xm_libc_setbyte(lua_State* lua); #ifdef XM_CONFIG_API_HAVE_CURSES // register curses @@ -435,6 +436,7 @@ static luaL_Reg const g_libc_functions[] = , { "ptraddr", xm_libc_ptraddr } , { "diffptr", xm_libc_diffptr } , { "byteof", xm_libc_byteof } +, { "setbyte", xm_libc_setbyte } , { tb_null, tb_null } }; |
