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

Function listToValue

eval/CIPO_evaluation/common/gason.cpp:149–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149static inline JsonValue listToValue(JsonTag tag, JsonNode *tail) {
150 if (tail) {
151 auto head = tail->next;
152 tail->next = nullptr;
153 return JsonValue(tag, head);
154 }
155 return JsonValue(tag, nullptr);
156}
157
158int jsonParse(char *s, char **endptr, JsonValue *value, JsonAllocator &allocator) {
159 JsonNode *tails[JSON_STACK_SIZE];

Callers 1

jsonParseFunction · 0.85

Calls 1

JsonValueFunction · 0.85

Tested by

no test coverage detected