Re: g_strcmp0
- From: David Nečas <yeti physics muni cz>
- To: John Williams <asb1231 gmail com>
- Cc: gtk-list gnome org
- Subject: Re: g_strcmp0
- Date: Tue, 31 Aug 2010 09:11:29 +0200
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]