Re: warnings important?



Koen D'Hondt wrote:
> If I'm not mistaking, gtk-xhmtl uses a wrapper function (called
> g_strdup_wrapper) for normal builds since (last time I checked), gdk
> doesn't provide a g_strdup by itself as it does for g_malloc and
> friends.

Don't know what version of glib in which this appeared, but ...

gchar*   g_strdup               (const gchar *str);

If you are strdup'ing international strings you probably want something
more complicated.

	Jeff





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