Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!agate!dog.ee.lbl.gov!ux5.lbl.gov!diana From: diana@ux5.lbl.gov (Diana Zaliznyak) Newsgroups: comp.sys.mac.hypercard Subject: XFNC Message-ID: <13935@dog.ee.lbl.gov> Date: 4 Jun 91 23:56:22 GMT Article-I.D.: dog.13935 Reply-To: diana@ux5.lbl.gov (Diana Zaliznyak) Distribution: comp Organization: Lawrence Berkeley Laboratory Lines: 13 X-Local-Date: Tue, 4 Jun 91 16:56:22 PDT I'm trying to move some C code written for a Unix machine to the Mac. The code needs to be turned into an XFNC to be called from Hypercard. Unfortunately, the code uses linked lists with malloc/calloc/free/etc. It seems that only applications can successfully work with the linked lists, as far as ThinkC is concerned. Has anyone written an XCMD/XFNC, or for that matter any code resource on the Mac, which used linked lists with malloc/etc ? Diana Zaliznyak Lawrence Berkeley Laboratory Mail Stop 90-3111 Berkeley, CA 94720 (415) 486-5638 diana@ux5.lbl.gov