mirror of
https://github.com/json-c/json-c.git
synced 2026-04-11 00:09:06 +08:00
clang-format test1.c
This commit is contained in:
@@ -273,7 +273,8 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
json_object *one = json_object_new_int(1);
|
json_object *one = json_object_new_int(1);
|
||||||
json_object *result = json_object_array_bsearch(one, my_array, sort_fn);
|
json_object *result = json_object_array_bsearch(one, my_array, sort_fn);
|
||||||
printf("find json_object(1) in my_array successfully: %s\n", json_object_to_json_string(result));
|
printf("find json_object(1) in my_array successfully: %s\n",
|
||||||
|
json_object_to_json_string(result));
|
||||||
json_object_put(one);
|
json_object_put(one);
|
||||||
|
|
||||||
my_object = json_object_new_object();
|
my_object = json_object_new_object();
|
||||||
|
|||||||
Reference in New Issue
Block a user