Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!stevec From: stevec@Apple.COM (Steve Christensen) Newsgroups: comp.sys.mac.programmer Subject: Re: Can I count on any alignment from NewHandle or NewPtr? Message-ID: <50569@apple.Apple.COM> Date: 21 Mar 91 03:14:12 GMT References: <7496.27e4a472@cc.curtin.edu.au> <23706@well.sf.ca.us> <1991Mar20.231935.27113@eng.umd.edu> Organization: Apple Computer Inc., Cupertino, CA Lines: 17 In reply to the general discussion on heap block and stack alignment: Since we know that both heap blocks and elements on the stack are at least word-aligned on every Macintosh, then perhaps it's best to just assume that alignment for all Macs (whether 68000 or '020,'030) so that one's software is compatible with all Macs. Unless one knows one is runing on an '020 or '030. Of course, one shouldn't assume too much about low-level aspects of the Mac since they have a notorious habit of changing... steve -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Steve Christensen Never hit a man with glasses. stevec@apple.com Hit him with a baseball bat.