[comp.sys.mac.programmer] Anybody have MF temp-memory allocation glue/inlines for Lightspeed C

dplatt@coherent.com (Dave Platt) (06/01/88)

I would like to use the MultiFinder temporary-memory allocation calls in
a program written in LightSpeed C (ver. 2.15).  I've written the code
that checks to see if these services are available, per the "Frequently
asked questions about MultiFinder" pages in the MF Development Package.
Unfortunately, I can't code the actual calls without getting a link-time
error;  it seems that the 2.15 libraries do not include the necessary
MacTraps glue for MFTempNewHandle et al.

Has anyone out there implemented LsC glue-code (perhaps with asm { ... })
for these traps?  If so, would you be willing to mail me the necessary
code fragments?

advTHANKSance!


-- 
Dave Platt                                             VOICE: (415) 493-8805
  USNAIL: Coherent Thought Inc.  3350 West Bayshore #205  Palo Alto CA 94303
  UUCP: ...!{ames,sun,uunet}!coherent!dplatt     DOMAIN: dplatt@coherent.com
  INTERNET:   coherent!dplatt@ames.arpa,    ...@sun.com,    ...@uunet.uu.net