summaryrefslogtreecommitdiff
path: root/json-glib/json-parser.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@openedhand.com>2007-10-01 14:43:12 +0100
committerEmmanuele Bassi <ebassi@openedhand.com>2007-10-01 14:43:12 +0100
commitfd89ad3d7127e68df06345fa52863e73ada93689 (patch)
tree123c503957c5c82ee330292fa107f70c3f0141ce /json-glib/json-parser.c
parentb2ee98f9b0baac019540020e177189b6a3780b83 (diff)
downloadjson-glib-fd89ad3d7127e68df06345fa52863e73ada93689.tar.gz
Declare json_node_take_object() and json_node_take_array()
JsonParser uses the take variant of JsonNode setters for objects and arrays since it's the one creating the objects. This way, we avoid leaks and the extra complexity of unreffing the newly created complex containers after setting them into the JsonNodes.
Diffstat (limited to 'json-glib/json-parser.c')
0 files changed, 0 insertions, 0 deletions