diff options
| author | ruki <[email protected]> | 2023-05-05 00:25:20 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-05-05 00:25:20 +0800 |
| commit | 23b27938f797d55ba2aebe34a7e7dbd09b685b69 (patch) | |
| tree | 51995ade7721d986d17e76662c937d8e14103cf6 /core/src/xmake/path | |
| parent | 82b6ea8d359913dcc5e27e8d0faf7cb0e1cf54e3 (diff) | |
remove some comments
Diffstat (limited to 'core/src/xmake/path')
| -rw-r--r-- | core/src/xmake/path/is_absolute.c | 4 | ||||
| -rw-r--r-- | core/src/xmake/path/relative.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/core/src/xmake/path/is_absolute.c b/core/src/xmake/path/is_absolute.c index d54d58387..04f1af580 100644 --- a/core/src/xmake/path/is_absolute.c +++ b/core/src/xmake/path/is_absolute.c @@ -42,9 +42,7 @@ tb_int_t xm_path_is_absolute(lua_State* lua) tb_char_t const* path = luaL_checkstring(lua, 1); tb_check_return_val(path, 0); - // done path:is_absolute() + // path:is_absolute() lua_pushboolean(lua, tb_path_is_absolute(path)); - - // ok return 1; } diff --git a/core/src/xmake/path/relative.c b/core/src/xmake/path/relative.c index f64667747..543dd5b11 100644 --- a/core/src/xmake/path/relative.c +++ b/core/src/xmake/path/relative.c @@ -45,7 +45,7 @@ tb_int_t xm_path_relative(lua_State* lua) // get the root tb_char_t const* root = luaL_optstring(lua, 2, tb_null); - // done path:relative(root) + // path:relative(root) tb_char_t data[TB_PATH_MAXN]; lua_pushstring(lua, tb_path_relative_to(root, path, data, sizeof(data) - 1)); return 1; |
