Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!coherent!dplatt
From: dplatt@coherent.com (Dave Platt)
Newsgroups: comp.sys.mac.programmer
Subject: Anybody have MF temp-memory allocation glue/inlines for Lightspeed C
Keywords: MultiFinder temp memory glue lightspeed C
Message-ID: <5208@coherent.com>
Date: 1 Jun 88 04:55:20 GMT
Distribution: comp
Organization: Coherent Thought Inc., Palo Alto CA
Lines: 19

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