diff options
author | Emmanuele Bassi <ebassi@openedhand.com> | 2007-10-01 14:43:12 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@openedhand.com> | 2007-10-01 14:43:12 +0100 |
commit | fd89ad3d7127e68df06345fa52863e73ada93689 (patch) | |
tree | 123c503957c5c82ee330292fa107f70c3f0141ce /json-glib/json-parser.c | |
parent | b2ee98f9b0baac019540020e177189b6a3780b83 (diff) | |
download | json-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