[haiku-commits] Re: r39462 - in haiku/trunk: headers/os/app headers/private/app src/kits/app

  • From: Siarzhuk Zharski <zharik@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 17 Nov 2010 23:11:27 +0100

Hi Rene,

Am 17.11.2010 21:42, schrieb Rene Gollent:
Bool is usually one byte, in which case the easiest thing in order to
maintain class size would've been:

uint32 _reserved[11];
char _reserved2[3];
bool fHasBeenRestored;

or alternatively:
char _reserved[47];
bool fHasBeenRestored;

BTW, are Haiku classes and structures 1-byte aligned by default?

Kind Regards,

Other related posts: