| 122 | #endif |
| 123 | |
| 124 | CJSON_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 */ |
| 133 | static int case_insensitive_strcmp(const unsigned char *string1, const unsigned char *string2) |
no outgoing calls
no test coverage detected
searching dependent graphs…