Changeset 5ebff60 for lib/json_util.h
- Timestamp:
- 2015-02-20T22:50:54Z (10 years ago)
- Branches:
- master
- Children:
- 0b9daac, 3d45471, 7733b8c
- Parents:
- af359b4
- git-author:
- Indent <please@…> (19-02-15 05:47:20)
- git-committer:
- dequis <dx@…> (20-02-15 22:50:54)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/json_util.h
raf359b4 r5ebff60 26 26 #define JSON_O_FOREACH(o, k, v) \ 27 27 char *k; json_value *v; int __i; \ 28 for ( __i = 0; ( __i < (o)->u.object.length) && \29 ( k = (o)->u.object.values[__i].name) && \30 ( v = (o)->u.object.values[__i].value); \31 __i ++)28 for (__i = 0; (__i < (o)->u.object.length) && \ 29 (k = (o)->u.object.values[__i].name) && \ 30 (v = (o)->u.object.values[__i].value); \ 31 __i ++) 32 32 33 json_value *json_o_get( const json_value *obj, const json_char *name);34 const char *json_o_str( const json_value *obj, const json_char *name);35 char *json_o_strdup( const json_value *obj, const json_char *name);33 json_value *json_o_get(const json_value *obj, const json_char *name); 34 const char *json_o_str(const json_value *obj, const json_char *name); 35 char *json_o_strdup(const json_value *obj, const json_char *name);
Note: See TracChangeset
for help on using the changeset viewer.