MCPcopy Create free account
hub / github.com/antirez/botlib / cJSON_Version

Function cJSON_Version

cJSON.c:124–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122#endif
123
124CJSON_PUBLIC(const char*) cJSON_Version(void)
125{
126 static char version[15];
127 sprintf(version, "%i.%i.%i", CJSON_VERSION_MAJOR, CJSON_VERSION_MINOR, CJSON_VERSION_PATCH);
128
129 return version;
130}
131
132/* Case insensitive string comparison, doesn't consider two NULL pointers equal though */
133static 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