| 31 | } |
| 32 | |
| 33 | void 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 | |
| 41 | const char *StringId32::to_string(char *buf, u32 len) const |
| 42 | { |
no outgoing calls