mirror of
https://github.com/DaveGamble/cJSON.git
synced 2024-12-26 21:04:24 +08:00
Typos found by codespell (#607)
This commit is contained in:
parent
324a6ac9a9
commit
7795249dd4
2
cJSON.h
2
cJSON.h
@ -256,7 +256,7 @@ CJSON_PUBLIC(cJSON_bool) cJSON_Compare(const cJSON * const a, const cJSON * cons
|
|||||||
|
|
||||||
/* Minify a strings, remove blank characters(such as ' ', '\t', '\r', '\n') from strings.
|
/* Minify a strings, remove blank characters(such as ' ', '\t', '\r', '\n') from strings.
|
||||||
* The input pointer json cannot point to a read-only address area, such as a string constant,
|
* The input pointer json cannot point to a read-only address area, such as a string constant,
|
||||||
* but should point to a readable and writable adress area. */
|
* but should point to a readable and writable address area. */
|
||||||
CJSON_PUBLIC(void) cJSON_Minify(char *json);
|
CJSON_PUBLIC(void) cJSON_Minify(char *json);
|
||||||
|
|
||||||
/* Helper functions for creating and adding items to an object at the same time.
|
/* Helper functions for creating and adding items to an object at the same time.
|
||||||
|
@ -66,7 +66,7 @@ static cJSON_bool test_apply_patch(const cJSON * const test)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
printf("Testing unkown\n");
|
printf("Testing unknown\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
disabled = cJSON_GetObjectItemCaseSensitive(test, "disabled");
|
disabled = cJSON_GetObjectItemCaseSensitive(test, "disabled");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user