mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
json: update internal type definition to match JSMN
Fixes: ceda955ba7
("shared: Update JSMN to latest version")
This commit is contained in:
parent
ceda955ba7
commit
069d6d1d9c
@ -27,10 +27,10 @@ struct json_iter;
|
|||||||
*/
|
*/
|
||||||
enum json_type {
|
enum json_type {
|
||||||
JSON_UNDEFINED = 0,
|
JSON_UNDEFINED = 0,
|
||||||
JSON_OBJECT = 1,
|
JSON_OBJECT = 1 << 0,
|
||||||
JSON_ARRAY = 2,
|
JSON_ARRAY = 1 << 1,
|
||||||
JSON_STRING = 3,
|
JSON_STRING = 1 << 2,
|
||||||
JSON_PRIMITIVE = 4
|
JSON_PRIMITIVE = 1 << 3,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum json_flag {
|
enum json_flag {
|
||||||
|
Loading…
Reference in New Issue
Block a user