mirror of https://github.com/akheron/jansson
added return value for success
added return value for success
This commit is contained in:
parent
982c2664a8
commit
580281edcd
|
@ -47,6 +47,7 @@ static JSON_INLINE void json_init(json_t *json, json_type type)
|
|||
int json_set_flag(json_t *json, uint32_t input)
|
||||
{
|
||||
json->flag = input;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*** object ***/
|
||||
|
|
Loading…
Reference in New Issue