MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / isneg

Function isneg

third-party/lua-5.5.0/src/lobject.c:204–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202
203
204static int isneg (const char **s) {
205 if (**s == '-') { (*s)++; return 1; }
206 else if (**s == '+') (*s)++;
207 return 0;
208}
209
210
211

Callers 2

lua_strx2numberFunction · 0.70
l_str2intFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected