MCPcopy Create free account
hub / github.com/OpenDriveLab/OpenLane / jsonStrError

Function jsonStrError

eval/CIPO_evaluation/common/gason.cpp:29–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27#define JSON_STACK_SIZE 32
28
29const char *jsonStrError(int err) {
30 switch (err) {
31#define XX(no, str) \
32 case JSON_##no: \
33 return str;
34 JSON_ERRNO_MAP(XX)
35#undef XX
36 default:
37 return "unknown";
38 }
39}
40
41void *JsonAllocator::allocate(size_t size) {
42 size = (size + 7) & ~7;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected