This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
jdk-build-libs
/
json-c
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
11
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
update indentation
tags/json-c-0.13-20171207
Emiel Bruijntjes
9 years ago
parent
23ee243113
commit
827f0fd8ef
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
json_object.c
+ 2
- 0
json_object.c
View File
@@ -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;
}
Write
Preview
Loading…
Cancel
Save