diff options
| author | Saikari <[email protected]> | 2026-01-29 12:24:27 +0300 |
|---|---|---|
| committer | Saikari <[email protected]> | 2026-01-29 12:24:27 +0300 |
| commit | be399abceea8da01cbcd2e5391bc6aead52cfcfe (patch) | |
| tree | fd2592b035938ea622a720add6165dc1baddb124 /core/src/xmake/engine.c | |
| parent | 38a8b6998f5ef826725ed565b46d50f097840ed0 (diff) | |
Add is_pefile function to check for PE file signatures on Windows
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 a77cc4a9b..3356e4456 100644 --- a/core/src/xmake/engine.c +++ b/core/src/xmake/engine.c @@ -278,6 +278,7 @@ tb_int_t xm_winos_registry_query(lua_State *lua); tb_int_t xm_winos_registry_keys(lua_State *lua); tb_int_t xm_winos_registry_values(lua_State *lua); tb_int_t xm_winos_short_path(lua_State *lua); +tb_int_t xm_winos_is_pefile(lua_State *lua); #endif // the utf8 functions @@ -482,6 +483,7 @@ static luaL_Reg const g_winos_functions[] = { { "registry_keys", xm_winos_registry_keys }, { "registry_values", xm_winos_registry_values }, { "short_path", xm_winos_short_path }, + { "is_pe_file", xm_winos_is_pefile }, { tb_null, tb_null }, }; #endif |
