| 27 | #define JSON_STACK_SIZE 32 |
| 28 | |
| 29 | const 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 | |
| 41 | void *JsonAllocator::allocate(size_t size) { |
| 42 | size = (size + 7) & ~7; |
nothing calls this directly
no outgoing calls
no test coverage detected