3
0
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:
James Prestwood 2022-11-02 11:46:00 -07:00 committed by Denis Kenzior
parent ceda955ba7
commit 069d6d1d9c

View File

@ -27,10 +27,10 @@ struct json_iter;
*/
enum json_type {
JSON_UNDEFINED = 0,
JSON_OBJECT = 1,
JSON_ARRAY = 2,
JSON_STRING = 3,
JSON_PRIMITIVE = 4
JSON_OBJECT = 1 << 0,
JSON_ARRAY = 1 << 1,
JSON_STRING = 1 << 2,
JSON_PRIMITIVE = 1 << 3,
};
enum json_flag {