summaryrefslogtreecommitdiff
path: root/json-glib/json-object.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@openedhand.com>2008-01-27 21:26:51 +0000
committerEmmanuele Bassi <ebassi@openedhand.com>2008-01-27 21:26:51 +0000
commitf2f08d282ac6bc69ba9029d065979b1332abd5a5 (patch)
treec8042cd49197d06fb6b147deaf683b44f8bcc9f7 /json-glib/json-object.c
parent629d4a54913c578d7b612f10d9b04addc8e0c7fb (diff)
downloadjson-glib-f2f08d282ac6bc69ba9029d065979b1332abd5a5.tar.gz
Extract the parser state clearing into its own function
The JsonParser object clears its state upon starting the parsing sequence or during the instance destruction process. It's worth moving the free and unref calls into their own function to be called by the load_from_data() and dispose methods. As further optimisation, inlining them should be worth as well.
Diffstat (limited to 'json-glib/json-object.c')
0 files changed, 0 insertions, 0 deletions