Changeset 5ebff60 for lib/json_util.h


Ignore:
Timestamp:
2015-02-20T22:50:54Z (9 years ago)
Author:
dequis <dx@…>
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)
Message:

Reindent everything to K&R style with tabs

Used uncrustify, with the configuration file in ./doc/uncrustify.cfg

Commit author set to "Indent <please@…>" so that it's easier to
skip while doing git blame.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/json_util.h

    raf359b4 r5ebff60  
    2626#define JSON_O_FOREACH(o, k, v) \
    2727        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 ++)
    3232
    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 );
     33json_value *json_o_get(const json_value *obj, const json_char *name);
     34const char *json_o_str(const json_value *obj, const json_char *name);
     35char *json_o_strdup(const json_value *obj, const json_char *name);
Note: See TracChangeset for help on using the changeset viewer.