GNOME Bugzilla – Bug 342358
Add STRING to any fundamental GType functions
Last modified: 2006-08-14 11:06:34 UTC
In GLib doesn't exist registered functions to transform a STRING to other type like INT. This could be usefull for the implementation of GDA (www.gnome-db.org), in order to avoid that library register his own custom STRING to TYPE functions.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 157734 ***
The propousal is not serialization, is just add the transformation functions from the fundamental types (not GObject) to a string, using the GValue API g_value_transform.
(In reply to comment #2) > The propousal is not serialization, is just add the transformation functions > from the fundamental types (not GObject) to a string, using the GValue API > g_value_transform. i consider generic GValue<->string conversion serialization. you're merely referring to a restricted subset of the serialization functionality if you leave out objects. consequently, this issue has been adressed here: http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00258.html and originally here: http://mail.gnome.org/archives/gtk-devel-list/2001-January/msg00128.html