return tolower(*(const unsigned char *)s1) - tolower(*(const unsigned char *)s2);
}
-static void *glue_malloc(size_t theSize) \r
-{ \r
- return(malloc(theSize)); \r
-} \r
-\r
-static void glue_free(void *thePtr) \r
-{ \r
- free(thePtr); \r
-} \r
+static void *glue_malloc(size_t theSize)
+{
+ return(malloc(theSize));
+}
+
+static void glue_free(void *thePtr)
+{
+ free(thePtr);
+}
static void *(*cJSON_malloc)(size_t sz) = glue_malloc;
static void (*cJSON_free)(void *ptr) = glue_free;
return tolower(*(const unsigned char *)s1) - tolower(*(const unsigned char *)s2);
}
-static void *glue_malloc(size_t theSize) \r
-{ \r
- return(malloc(theSize)); \r
-} \r
-\r
-static void glue_free(void *thePtr) \r
-{ \r
- free(thePtr); \r
-} \r
+static void *glue_malloc(size_t theSize)
+{
+ return(malloc(theSize));
+}
+
+static void glue_free(void *thePtr)
+{
+ free(thePtr);
+}
static void *(*cJSON_malloc)(size_t sz) = glue_malloc;
static void (*cJSON_free)(void *ptr) = glue_free;