Thread View: comp.lang.lisp.mcl
1 messages
1 total messages
Started by moon David A. Moon
Mon, 25 Jan 1993 23:52
Re: Calling MPW C code: is malloc safe?
Author: moon David A. Moon
Date: Mon, 25 Jan 1993 23:52
Date: Mon, 25 Jan 1993 23:52
12 lines
906 bytes
906 bytes
> From: westling@starbase.mitre.org (Mark Westling) > Date: 25 Jan 93 22:10:13 GMT > > 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? Calling malloc (or C++ new) works reliably for me. Perhaps your C program would bomb even if you weren't running it under MCL?
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads