Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!uflorida!mephisto!prism!sun13!gw.scri.fsu.edu!pepke From: pepke@gw.scri.fsu.edu (Eric Pepke) Newsgroups: comp.sys.mac.programmer Subject: Re: Question: Putting structs in resources Message-ID: <629@sun13.scri.fsu.edu> Date: 6 Sep 90 18:30:23 GMT References: <1990Sep5.145717.13291@smsc.sony.com> Sender: news@sun13.scri.fsu.edu Organization: Florida State University, but I don't speak for them Lines: 24 In article <1990Sep5.145717.13291@smsc.sony.com> dce@smsc.sony.com (David Elliott) writes: > Is it common practice to read and write structs as resources on the > Mac? Yup. > If so, is there any worry that these resources will not be > compatible if Apple were to go to a platform with different alignment > restrictions (I assume byte order isn't an issue)? Apple has done a rather remarkable job of keeping compatibility across the line. So far the alignment on newer machines has become more lax rather than more restrictive. Even if this were to change, the ability to read structures from resources is so basic that compiler writers would have to build in transparent compatibility measures. Eric Pepke INTERNET: pepke@gw.scri.fsu.edu Supercomputer Computations Research Institute MFENET: pepke@fsu Florida State University SPAN: scri::pepke Tallahassee, FL 32306-4052 BITNET: pepke@fsu Disclaimer: My employers seldom even LISTEN to my opinions. Meta-disclaimer: Any society that needs disclaimers has too many lawyers.