MCPcopy Create free account
hub / github.com/crownengine/crown / parse

Method parse

src/core/strings/string_id.cpp:33–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void StringId32::parse(const char *str)
34{
35 CE_ENSURE(NULL != str);
36 errno = 0;
37 _id = strtoul(str, NULL, 16);
38 CE_ENSURE(errno != ERANGE && errno != EINVAL);
39}
40
41const char *StringId32::to_string(char *buf, u32 len) const
42{

Callers 1

test_string_idFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_string_idFunction · 0.36