[gnome-db] Re: Transformation functions from G_TYPE_STRING to G_TYPE_any



Specificaly in GDA could be usefull if the following types has a From String Function defined in GLib:

G_TYPE_BOOLEAN
G_TYPE_INT
G_TYPE_UINT
G_TYPE_INT64
G_TYPE_UINT64
G_TYPE_LONG
G_TYPE_ULONG
G_TYPE_FLOAT
G_TYPE_DOUBLE


2006/5/24, Tim Janik <timj imendio com>:
On Fri, 19 May 2006, Daniel Espinosa wrote:

> 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

transformations to string are more of a convenience/debugging feature
libgobject offers.

> 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

i don't think having these in glib makes much sense, as outlined in:
   http://mail.gnome.org/archives/gtk-devel-list/2006-May/msg00258.html
reflected in the bug report.

---
ciaoTJ



--
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]