Re: GPOINTER_TO_UINT(NULL) == 0 ?
- From: Jim Edwards <jimedwards altavista com>
- To: rsteinke w-link net
- Cc: gtk-list gnome org
- Subject: Re: GPOINTER_TO_UINT(NULL) == 0 ?
- Date: Fri, 19 Oct 2001 10:43:47 +0000
I think so
glibconfig.h:
#define GPOINTER_TO_UINT(p) ((guint) (p))
#define GPOINTER_TO_INT(p) ((gint) (p))
but why would you need to make such an assumption?
Jim
rsteinke w-link net wrote:
> Is it possible to assume that
>
> GPOINTER_TO_UINT(NULL) == 0
>
> across all platforms? Whether this is true or false, it
> might also be a good thing to mention in the docs.
>
> Ron Steinke
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]