Skip to content

Commit

Permalink
Merge pull request DaveGamble#266 from zhaozhixu/master
Browse files Browse the repository at this point in the history
fix a typo in cJSON.h
  • Loading branch information
FSMaxB authored May 8, 2018
2 parents 529ec06 + 0d5ecc1 commit 1571a3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cJSON.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ CJSON_PUBLIC(void) cJSON_Delete(cJSON *c);

/* Returns the number of items in an array (or object). */
CJSON_PUBLIC(int) cJSON_GetArraySize(const cJSON *array);
/* Retrieve item number "item" from array "array". Returns NULL if unsuccessful. */
/* Retrieve item number "index" from array "array". Returns NULL if unsuccessful. */
CJSON_PUBLIC(cJSON *) cJSON_GetArrayItem(const cJSON *array, int index);
/* Get item "string" from object. Case insensitive. */
CJSON_PUBLIC(cJSON *) cJSON_GetObjectItem(const cJSON * const object, const char * const string);
Expand Down

0 comments on commit 1571a3e

Please sign in to comment.