json-glib r19 - in trunk: . doc/reference json-glib tests



Author: ebassi
Date: 2007-11-21 23:52:25 +0000 (Wed, 21 Nov 2007)
New Revision: 19
ViewCVS link: http://svn.gnome.org/viewcvs/json-glib?rev=19&view=rev

Modified:
   trunk/ChangeLog
   trunk/doc/reference/json-glib-sections.txt
   trunk/json-glib/json-array.c
   trunk/json-glib/json-gobject.c
   trunk/json-glib/json-object.c
   trunk/json-glib/json-parser.c
   trunk/json-glib/json-parser.h
   trunk/json-glib/json-types.h
   trunk/tests/test-01.c
   trunk/tests/test-02.c
   trunk/tests/test-03.c
   trunk/tests/test-04.c
   trunk/tests/test-05.c
Log:
2007-11-21  Emmanuele Bassi  <ebassi openedhand com>

	* json-glib/json-types.h:
	* json-glib/json-array.c:
	* json-glib/json-gobject.c:
	* json-glib/json-object.c: Add getters that return
	copies of the nodes to the JSON data types methods.
	
	* json-glib/json-parser.[ch]
	(json_parser_peek_root),
	(json_parser_get_root): Behaviour change: get_root() now
	returns a *copy* of the root node, which will need to be
	freed with json_node_free(). The old behaviour (returning
	a pointer to the root node) has been moved to the newly
	added json_parser_peek_node().

	* tests/test-01.c:
	* tests/test-02.c:
	* tests/test-03.c:
	* tests/test-04.c:
	* tests/test-05.c: Update test suite.

	* doc/reference/json-glib-sections.txt: Add new symbols.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]