• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Alignment in structs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Alignment in structs


  • Subject: Alignment in structs
  • From: Laurence Harris <email@hidden>
  • Date: Fri, 14 Jul 2006 18:49:57 -0400

What do I need to set in Xcode to get the size of this struct:

typedef struct Blah {
	UInt32		a, b, c;
	SInt16		d;
} Blah;

to be 14 instead of the 16 I'm getting currently? Thanks,

Larry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Alignment in structs
      • From: Rush Manbert <email@hidden>
    • Re: Alignment in structs
      • From: Eric Albert <email@hidden>
    • Re: Alignment in structs
      • From: Philip Ershler <email@hidden>
  • Prev by Date: Re: Catching C++ exceptions thrown from a framework
  • Next by Date: Re: No Crash Report dialog
  • Previous by thread: What causes debugged app to not activate?
  • Next by thread: Re: Alignment in structs
  • Index(es):
    • Date
    • Thread