summaryrefslogtreecommitdiff
path: root/json_object.c
diff options
context:
space:
mode:
authorEric Haszlakiewicz <erh+git@nimenees.com>2016-04-30 18:52:47 +0000
committerEric Haszlakiewicz <erh+git@nimenees.com>2016-04-30 18:52:47 +0000
commit1fb87cd196d473299b49a97329e47ea6a7ed5c67 (patch)
treed9a68f01b532c415c05f81d3a47cec7c3d680a24 /json_object.c
parente3fb74942a761280c70b189a189ade45d9fa5ef5 (diff)
parentcdca9d3c8e50ff7de712f7157d6f0ddaa1922700 (diff)
downloadjson-c-1fb87cd196d473299b49a97329e47ea6a7ed5c67.tar.gz
Merge branch 'master' of https://github.com/Protovision/json-c into Protovision-master
Diffstat (limited to 'json_object.c')
-rw-r--r--json_object.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/json_object.c b/json_object.c
index b5083f3..7d60884 100644
--- a/json_object.c
+++ b/json_object.c
@@ -1078,3 +1078,8 @@ int json_object_equal(struct json_object* jso1, struct json_object* jso2)
return 0;
}
+
+int json_object_array_del_idx(struct json_object *jso, int idx, int count)
+{
+ return array_list_del_idx(jso->o.c_array, idx, count);
+}