Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ObEngine/ObEngine
/ isneg
Function
isneg
extlibs/lua/src/lobject.c:141–145 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
139
140
141
static int isneg (const char **s) {
142
if (**s ==
'-'
) { (*s)++; return 1; }
143
else if (**s ==
'+'
) (*s)++;
144
return 0;
145
}
146
147
148
Callers
2
lua_strx2number
Function · 0.85
l_str2int
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected