Transformation functions from G_TYPE_STRING to G_TYPE_any



I'm working on add functions to GLib to transform a STRING to GLib's types; now only exists a way to transform to a STRING but not from a STRING; to do so I need to find the value_transform_int_string function (and the others in gvaluetransform.c file) in order to write the functions to transform from STRING some types.

GDA, has some code to transform them, but may is better to have them in GLib; unless you consider that is better that library must register his own custom transformation functions.

I had filed a bug in:

http://bugzilla.gnome.org/show_bug.cgi?id=342358

--
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (entrámite, pero para los cuates: LIBRE)

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