Re: Transformation functions from G_TYPE_STRING to G_TYPE_any


On Fri, 2006-05-19 at 11:34 -0500, Daniel Espinosa wrote:
> I'm working on add functions to GLib to transform a STRING to GLib's
> types

IIRC the reason they are not there is because the transform API isn't
suited to parsers (GValueTransform does not return anything -- the
system assumes that if a transformer was found, that a transform could
take place). You probably want a different API (serialize/deserialize or
something -- see gstreamer's gstvalue [1] for one such implementation).


Andy Wingo

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