On Mon, Apr 26, 2010 at 1:51 PM, Juan Jose Garcia-Ripoll <juanjose.garciarip...@googlemail.com> wrote: >> It is very problematic because ECL allocates and frees foreign memory >> using the garbage collector. If the user applies FOREIGN-FREE upon a >> pointer that was NOT created using CFFI, then ECL's garbage collector will >> choke. The tests we causing ECL to hang.
I see. What's the rationale? Could ECL's FOREIGN-FREE/ALLOC use plain malloc()/free()? If not, CFFI should probably provide something like LIBC-MALLOC and LIBC-FREE explicitly. > I attach you an updated patch that fixes CFFI's test suite. Could you please > include it in the tree? With the current abuse of FOREIGN-FREE ECL hangs and > this is causing my test farm a lot of headaches. Pushed, as a temporary solution. Thanks, -- Luís Oliveira http://r42.eu/~luis/ _______________________________________________ cffi-devel mailing list cffi-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel