diff options
| author | ruki <[email protected]> | 2019-11-26 00:47:51 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-11-25 23:40:49 +0800 |
| commit | 2101b278bb3f1d15395110b25b63a8536ecffb94 (patch) | |
| tree | 0b8166a2708793b181cea500091c214555de2603 /core/src/xmake/machine.c | |
| parent | dee47ccf498d9ed84e58885257d8f84863922a1a (diff) | |
impl hash.uuid4
Diffstat (limited to 'core/src/xmake/machine.c')
| -rw-r--r-- | core/src/xmake/machine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/xmake/machine.c b/core/src/xmake/machine.c index faeadfe4f..dd606f0b6 100644 --- a/core/src/xmake/machine.c +++ b/core/src/xmake/machine.c @@ -137,7 +137,7 @@ tb_int_t xm_path_translate(lua_State* lua); tb_int_t xm_path_is_absolute(lua_State* lua); // the hash functions -tb_int_t xm_hash_uuid(lua_State* lua); +tb_int_t xm_hash_uuid4(lua_State* lua); tb_int_t xm_hash_sha256(lua_State* lua); // the windows functions @@ -295,7 +295,7 @@ static luaL_Reg const g_path_functions[] = // the hash functions static luaL_Reg const g_hash_functions[] = { - { "uuid", xm_hash_uuid } + { "uuid4", xm_hash_uuid4 } , { "sha256", xm_hash_sha256 } , { tb_null, tb_null } }; |
