Re: [gnome-db] gda_value_new_from string()
- From: Murray Cumming <murrayc murrayc com>
- To: bas driessen xobas com
- Cc: GNOME-DB List <gnome-db-list gnome org>
- Subject: Re: [gnome-db] gda_value_new_from string()
- Date: Sun, 14 May 2006 15:33:58 +0200
On Sun, 2006-05-14 at 23:09 +1000, Bas Driessen wrote:
> Thanks Murray, but this DID work before the GdaValue->GValue changes
> where introduced, so whatever was used then (local or SQL syntax)
> could be used again.
>
> So what strategy would you use if you want to convert a string to a
> GValue of G_TYPE_INT for instance?
I'd know what representation that string was using, in what locale, and
I'd use the regular C or C++ technique to interpret it as an int.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]