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

Function cJSON_Version

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

Source from the content-addressed store, hash-verified

86#endif
87
88CJSON_PUBLIC(const char*) cJSON_Version(void)
89{
90 static char version[15];
91 memset(version, 0, 15);
92 snprintf(version, 14, "%i.%i.%i", CJSON_VERSION_MAJOR, CJSON_VERSION_MINOR, CJSON_VERSION_PATCH);
93
94 return version;
95}
96
97/* Case insensitive string comparison, doesn't consider two NULL pointers equal though */
98static int case_insensitive_strcmp(const unsigned char *string1, const unsigned char *string2)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected