| 86 | #endif |
| 87 | |
| 88 | CJSON_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 */ |
| 98 | static int case_insensitive_strcmp(const unsigned char *string1, const unsigned char *string2) |
nothing calls this directly
no outgoing calls
no test coverage detected