MCPcopy Create free account
hub / github.com/OpenIPC/firmware / cJSON_Version

Function cJSON_Version

general/package/xmdp/src/cjson/cJSON.c:120–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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