Re: ? cffi
james anderson <[email protected]> Wed, 22 Sep 2010 07:30:32 +0200
| Newsgroups | gmane.lisp.mcl.general |
|---|---|
| Message-ID | <[email protected]> |
there are two sources. if you go to ftp.clozure.com, you will find the 5.2 release and a copy of the documentation for 4.0. i know of no revised documentation for 5.2. other than that, there is always the source. i believe 5.2 has a very different calling mechanism then 4.0, as it uses a different os x facility to manage foreign libraries. the biggest '?' is turning off the gc for the dynamic extent of any foreign calls which pass lisp data. i do not know if that is possible in mcl, but it could be faked by moving the data to/from temporary external storage just to get it working. two little question marks are the data type size calculations and the call-back protocol. since the source is there, there's nothing stopping me from adapting the clozure-specific code to work in mcl. i was just hoping to avoid having to wrap my head around those bits. On 2010-09-22, at 04:45 , Chun Tian (binghe) wrote: > Never know how to do FFI in Digitool MCL ... Where can I find some > API documents? > > --binghe > > 在 2010-9-22,05:36, james anderson 写道: > >> good morning; >> >> has anyone ported cffi to mcl? >> >> >> _______________________________________________ >> info-mcl mailing list >> [email protected] >> http://clozure.com/mailman/listinfo/info-mcl > > _______________________________________________ > info-mcl mailing list > [email protected] > http://clozure.com/mailman/listinfo/info-mcl _______________________________________________ info-mcl mailing list [email protected] http://clozure.com/mailman/listinfo/info-mcl