After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 744100 - reader: Clarify use of json_reader_end_[element|member]() with errors
reader: Clarify use of json_reader_end_[element|member]() with errors
Status: RESOLVED FIXED
Product: json-glib
Classification: Core
Component: Documentation
git master
Other All
: Normal minor
: ---
Assigned To: json-glib-maint
json-glib-maint
Depends on:
Blocks:
 
 
Reported: 2015-02-06 15:13 UTC by Philip Withnall
Modified: 2015-08-18 13:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
reader: Clarify use of json_reader_end_[element|member]() with errors (2.25 KB, patch)
2015-02-06 15:13 UTC, Philip Withnall
committed Details | Review

Description Philip Withnall 2015-02-06 15:13:07 UTC
Simple patch attached.
Comment 1 Philip Withnall 2015-02-06 15:13:18 UTC
Created attachment 296286 [details] [review]
reader: Clarify use of json_reader_end_[element|member]() with errors

Include an example showing that the end function must be called on both
code paths (success and failure) if the reader object is to be used
afterwards.
Comment 2 Emmanuele Bassi (:ebassi) 2015-08-18 13:10:51 UTC
Review of attachment 296286 [details] [review]:

Looks good.
Comment 3 Emmanuele Bassi (:ebassi) 2015-08-18 13:12:40 UTC
Attachment 296286 [details] pushed as 8fd3660 - reader: Clarify use of json_reader_end_[element|member]() with errors