Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!usc!ucsd!nosc!dog.ee.lbl.gov!ux5.lbl.gov!diana From: diana@ux5.lbl.gov (Diana Zaliznyak) Newsgroups: comp.sys.mac.programmer Subject: XFNC for Hypercard Message-ID: <13937@dog.ee.lbl.gov> Date: 4 Jun 91 23:59:24 GMT Reply-To: diana@ux5.lbl.gov (Diana Zaliznyak) Distribution: comp Organization: Lawrence Berkeley Laboratory Lines: 13 X-Local-Date: Tue, 4 Jun 91 16:59:24 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