diff options
| author | ruki <[email protected]> | 2017-06-16 15:45:31 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-06-16 15:45:31 +0800 |
| commit | b3cc1e1c42d8b367f2d0b1a93c236abe1cc94b34 (patch) | |
| tree | 206f6249f3f61d856ecbfb731661a2514923a91f /core/src/xmake/string/startswith.c | |
| parent | 4ce04f4a25ac9fa21e19ae4c568d7a253959680a (diff) | |
replace old find compiler scripts and fix string.endswith
Diffstat (limited to 'core/src/xmake/string/startswith.c')
| -rw-r--r-- | core/src/xmake/string/startswith.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/string/startswith.c b/core/src/xmake/string/startswith.c index 84766e5ca..de039dede 100644 --- a/core/src/xmake/string/startswith.c +++ b/core/src/xmake/string/startswith.c @@ -48,7 +48,7 @@ tb_int_t xm_string_startswith(lua_State* lua) tb_char_t const* prefix = luaL_checklstring(lua, 2, &prefix_size); tb_check_return_val(string && prefix, 0); - // done string:startswith(prefix) + // string:startswith(prefix)? lua_pushboolean(lua, !tb_strncmp(string, prefix, (tb_size_t)prefix_size)); // ok |
