mirror of
https://github.com/json-c/json-c.git
synced 2026-03-23 23:19:06 +08:00
update indentation
This commit is contained in:
@@ -161,11 +161,13 @@ static int json_escape_str(struct printbuf *pb, const char *str, int len)
|
||||
extern struct json_object* json_object_get(struct json_object *jso)
|
||||
{
|
||||
if (!jso) return jso;
|
||||
|
||||
#if defined __GNUC__
|
||||
__sync_add_and_fetch(&jso->_ref_count, 1);
|
||||
#else
|
||||
++jso->_ref_count;
|
||||
#endif
|
||||
|
||||
return jso;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user