Re: inline pixbufs
- From: Raja R Harinath <harinath cs umn edu>
- To: Dan Winship <danw helixcode com>
- Cc: Havoc Pennington <hp redhat com>, gtk-devel-list gnome org
- Subject: Re: inline pixbufs
- Date: 26 Jul 2000 13:03:01 -0500
Dan Winship <danw@helixcode.com> writes:
> > +/* Is this Evil? I'm not sure. */
> > +#define GDK_PIXBUF_INLINE_MAGIC_NUMBER (* (guint32 *) "GdkPixbufMagic")
>
> Yes, it's Evil. It generates a different value on big- and little-
> endian machines.
And may cause SIGSEGVs on some machines due to bad alignment.
- Hari
--
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions." -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing." -- Roy L Ash
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]