Re: some g_time_val methods are unwrapped.



On Wed, 2009-05-06 at 18:32 +0200, Krzesimir Nowak wrote:
> Hi.
> 
> I was using Glib::TimeVal and I wondered if is there a way to convert
> this structure into Glib::ustring. Glib::TimeVal has no such methods,
> but in Glib there is a function named g_time_val_to_iso8601, which
> returns a string containing an iso8601 date.
> 
> Generally speaking two functions aren't wrapped:
> g_time_val_to_iso8601
> g_time_val_from_iso8601
> 
> Second one maybe could be wrapped as a constructor of Glib::TimeVal.
> Should I file a bug in bugzilla? I could possibly provide a patch.

Yes, please.

In the meantime, you can use the C functions with gobj().

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



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