home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.lisp.mcl
- Path: sparky!uunet!gatech!paladin.american.edu!howland.reston.ans.net!spool.mu.edu!agate!linus!linus.mitre.org!starbase!westling
- From: westling@starbase.mitre.org (Mark Westling)
- Subject: Calling MPW C code: is malloc safe?
- Message-ID: <westling.727999813@starbase>
- Sender: news@linus.mitre.org (News Service)
- Nntp-Posting-Host: starbase.mitre.org
- Organization: The MITRE Corporation
- Date: Mon, 25 Jan 1993 22:10:13 GMT
- Lines: 8
-
- I'm calling MPW C code using MCL 2.0's foreign function
- interface. My program bombs occasionally (but not
- consistently), and I suspect it's due to malloc calls. Is
- it safe to use the MPW memory allocation/deallocation
- calls in a Lisp environment, or should I create a static
- array and manage it all myself?
-
- --Mark Westling
-