Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!news.cs.indiana.edu!msi.umn.edu!cs.umn.edu!ux.acs.umn.edu!vx.acs.umn.edu!dhoyt From: dhoyt@vx.acs.umn.edu (DAVID HOYT) Newsgroups: comp.sys.mac.programmer Subject: Can I count on any alignment from NewHandle or NewPtr? Message-ID: <3588@ux.acs.umn.edu> Date: 10 Mar 91 19:11:59 GMT Sender: news@ux.acs.umn.edu Reply-To: dhoyt@vx.acs.umn.edu Organization: University of Minnesota, Academic Computing Services Lines: 8 News-Software: VAX/VMS VNEWS 1.3-4 ''' Can I count on any sort of alignment from the mac memory manager? Or do I have to roll my own by allocating n-1 more bytes than I really need? Also, is there any guarentee on stack alignment? I'm trying to build a garbage collector for MacApp/C++ and it would be faster if I could rely on alignment. david | dhoyt@vx.acs.umn.edu | dhoyt@umnacvx.bitnet