home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!decwrl!apple!mumbo.apple.com!gallant.apple.com!blob
- From: blob@gallant.apple.com (Brian Bechtel)
- Subject: Re: A5 in libraries
- Message-ID: <1992Nov13.121041.4875@gallant.apple.com>
- Date: Fri, 13 Nov 1992 12:10:41 GMT
- References: <1992Nov12.234323.25616@informix.com>
- Organization: Apple Computer Inc.
- Lines: 18
-
- sbill@informix.com (Bill Stackhouse) writes:
-
-
- >In a library developed under Think C or MPW C, what is the correct
- >way to write the functions that use quickdraw so they will work
- >regardless of if it is called from a code resource or an appication?
- >Asked in another way, is there any way that a function can tell if
- >A5 is set correctly? Do I need one version for A5 use and another
- >for A4 use? Do I assume A5 is ok and make the caller set and restore
- >A5? Of course the library is linked with either the code resource or
- >application.
-
- Develop magazine, issue 10 (about to hit the distribution channel)
- contains an excellent article by Keith Rollin about globals in
- standalone code. Also see the Tech Note on this subject, and Think's
- documentation for their compilers.
-
- --Brian Bechtel blob@apple.com "My opinion, not Apple's"
-