Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Achain-Dev/Achain
/ isneg
Function
isneg
src/Chain/libraries/glua/lobject.cpp:169–173 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
167
168
169
static int isneg(const char **s) {
170
if (**s ==
'-'
) { (*s)++; return 1; }
171
else if (**s ==
'+'
) (*s)++;
172
return 0;
173
}
174
175
176
Callers
2
lua_strx2number
Function · 0.70
l_str2int
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected