Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crownengine/crown
/ from_hex
Function
from_hex
src/core/strings/string.cpp:79–84 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
77
}
78
79
int from_hex(s64 &val, const char *hex)
80
{
81
errno = 0;
82
val = strtol(hex, NULL, 16);
83
return !(errno != ERANGE && errno != EINVAL);
84
}
85
86
} // namespace crown
Callers
2
parse_states
Method · 0.85
parse_renderer_settings
Function · 0.85
Calls
1
strtol
Function · 0.85
Tested by
no test coverage detected