Re: g_strcmp0



On Mon, Aug 30, 2010 at 10:49:26PM -0300, John Williams wrote:
> As the documentation
> (http://library.gnome.org/devel/glib/2.24/glib-String-Utility-Functions.html#g-strcmp0)
> the g_strcmp0 requires const char instead const gchar and returns int
> instead gint.

Does it matter with

typedef char   gchar;
typedef int    gint;

?

These types correspond exactly to the standard C types; they are defined
only for convenience (you can put g- before everything), see their
documentation.

Yeti



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