Re: Moving to pointer-sized GType?
- From: Havoc Pennington <hp redhat com>
- To: Dan Winship <danw ximian com>
- Cc: Alex Larsson <alexl redhat com>, gnome-hackers gnome org, gnome-list gnome org, timj gtk org
- Subject: Re: Moving to pointer-sized GType?
- Date: 14 Sep 2001 18:34:31 -0400
Dan Winship <danw ximian com> writes:
> Yes, I understood that. I'm just saying, why not say "typedef gpointer
> GType" instead, so that any code that assumes GType == guint will break
> on *all* architectures, and you can just do "switch (GPOINTER_TO_UINT
> (type))" etc. rather than "switch (type)" directly.
Oh, I see, sorry. Hmm. That does have the advantage that it breaks
compilation when it breaks the code.
Havoc
_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]