[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Example in Docs: GPOINTER_TO_INT
- From: Owen Taylor <otaylor redhat com>
- To: mk daveg com
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Example in Docs: GPOINTER_TO_INT
- Date: 27 Jul 2001 18:28:19 -0400
mk@daveg.com writes:
> > And _imho_ usign of macro GPOINTER_TO_INT and GINT_TO_POINTER will not add
> > more portability to code _now_ and _may_ add more portability in the
> >_future_.
> > Am I right?
>
> IMHO opinion as a bystander (and born a fortran coder...), these macros
> should be taken out and shot.
> (For me, these ugly int/pointer tricks were about the only thing that kept
> my i386/linux code (chemtool) from compiling and running on 64bit SGI
> 'out of the box'.)
GINT_TO_POINTER and GPOINTER_TO_INT, are all about making these
tricks portable to different platforms. When used properly,
there should be no problems at with portability.
Owen
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]