mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-19 18:40:44 +01:00
json: fix comment typo, "json_object_is_valid"
This should be json_iter_is_valid.
This commit is contained in:
parent
4b147217ac
commit
cac10b52fc
@ -85,7 +85,7 @@ void json_iter_init(struct json_iter *iter, struct json_contents *c);
|
|||||||
* other types are encountered.
|
* other types are encountered.
|
||||||
*
|
*
|
||||||
* JSON_OPTIONAL string values will point to NULL if not found
|
* JSON_OPTIONAL string values will point to NULL if not found
|
||||||
* JSON_OPTIONAL objects/primitives can be checked with json_object_is_valid.
|
* JSON_OPTIONAL objects/primitives can be checked with json_iter_is_valid.
|
||||||
*/
|
*/
|
||||||
bool json_iter_parse(struct json_iter *iter, enum json_type type, ...);
|
bool json_iter_parse(struct json_iter *iter, enum json_type type, ...);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user