]> granicus.if.org Git - json-c/commit
Add NULL-safe get object method
authorKeith Derrick <keith.derrick@palm.com>
Thu, 12 Apr 2012 18:44:13 +0000 (11:44 -0700)
committerKeith Derrick <keith.derrick@palm.com>
Thu, 12 Apr 2012 18:50:08 +0000 (11:50 -0700)
commit6917586acfb49d976b9a8a441aaef694a9e2d774
treea0d03b16f8efa54cc9ce0b6a2c57d8a2b7fe4763
parent4a2cd966f5ef267545ec57f2490e3ec14f47d70f
Add NULL-safe get object method

New json_object_object_get_ex() method protects itself against null pointers
and invalid objects being passed in.
json_object.c
json_object.h