On Sat, May 1, 2010 at 9:18 PM, Matthew Mondor <mm_lists@pulsar-zone.net> wrote:
Hmm after doing more tests, I noticed that interestingly, replacing the
unix-error call by:

(unix-error ,cfunction err (list ,@(mapcar #'identity args)))

Appears to finally work fine

FFI:C-INLINE is destructively manipulating the source code it gets through the compiler. I have a fix, but I cannot commit it until I finish some other stuff. In the mean time you can use COPY-LIST in the args list that is passed to C-INLINE2. 


Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)