| 133 | #endif |
| 134 | |
| 135 | CJSON_PUBLIC(const char*) cJSON_Version(void) |
| 136 | { |
| 137 | static char version[15]; |
| 138 | sprintf(version, "%i.%i.%i", CJSON_VERSION_MAJOR, CJSON_VERSION_MINOR, CJSON_VERSION_PATCH); |
| 139 | |
| 140 | return version; |
| 141 | } |
| 142 | |
| 143 | /* Case insensitive string comparison, doesn't consider two NULL pointers equal though */ |
| 144 | static int case_insensitive_strcmp(const unsigned char *string1, const unsigned char *string2) |
no outgoing calls
no test coverage detected
searching dependent graphs…