MCPcopy Create free account
hub / github.com/F-Stack/f-stack / isneg

Function isneg

freebsd/contrib/openzfs/module/lua/lobject.c:93–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91
92
93static int isneg (const char **s) {
94 if (**s == '-') { (*s)++; return 1; }
95 else if (**s == '+') (*s)++;
96 return 0;
97}
98
99
100static lua_Number readhexa (const char **s, lua_Number r, int *count) {

Callers 1

lua_strx2numberFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected