MCPcopy Create free account
hub / github.com/Tencent/Hardcoder / cJSON_GetErrorPtr

Function cJSON_GetErrorPtr

libapp2sys/src/main/cpp/cjson/cJSON.c:70–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68static error global_error = { NULL, 0 };
69
70CJSON_PUBLIC(const char *) cJSON_GetErrorPtr(void)
71{
72 return (const char*) (global_error.json + global_error.position);
73}
74
75CJSON_PUBLIC(char *) cJSON_GetStringValue(cJSON *item) {
76 if (!cJSON_IsString(item)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected