MCPcopy 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
141static 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_strx2numberFunction · 0.85
l_str2intFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected