@ -1,16 +1,16 @@
/*
Copyright ( c ) 2009 Dave Gamble
Permission is hereby granted , free of charge , to any person obtaining a copy
of this software and associated documentation files ( the " Software " ) , to deal
in the Software without restriction , including without limitation the rights
to use , copy , modify , merge , publish , distribute , sublicense , and / or sell
copies of the Software , and to permit persons to whom the Software is
furnished to do so , subject to the following conditions :
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software .
THE SOFTWARE IS PROVIDED " AS IS " , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR
IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY ,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE
@ -36,7 +36,7 @@ extern "C"
# define cJSON_String (1 << 4)
# define cJSON_Array (1 << 5)
# define cJSON_Object (1 << 6)
# define cJSON_IsReference 256
# define cJSON_StringIsConst 512
@ -93,7 +93,7 @@ extern cJSON *cJSON_GetObjectItem(const cJSON *object, const char *string);
extern int cJSON_HasObjectItem ( const cJSON * object , const char * string ) ;
/* For analysing failed parses. This returns a pointer to the parse error. You'll probably need to look a few chars back to make sense of it. Defined when cJSON_Parse() returns 0. 0 when cJSON_Parse() succeeds. */
extern const char * cJSON_GetErrorPtr ( void ) ;
/* These calls create a cJSON item of the appropriate type. */
extern cJSON * cJSON_CreateNull ( void ) ;
extern cJSON * cJSON_CreateTrue ( void ) ;