Thanks, the patch fixes the problem. Works perfectly.
Indy
On Mon, Sep 21, 2009 at 10:28 PM, Jim Ursetto zbignie...@gmail.com wrote:
Looks like there are two issues here. First, try applying the
attached patch to fix a bug in c-backend. Second, your usage is
incorrect--ref types require an
I've been trying to use the ref FFI type (as documented here:
http://chicken.wiki.br/man/4/Foreign%20type%20specifiers#(ref TYPE) ) with
no success. Here is an example of my usage:
(print
((foreign-lambda* bool (((ref char) mC))
C_return(mC == 'c');)
#\c))
compiling this with csc from
Looks like there are two issues here. First, try applying the
attached patch to fix a bug in c-backend. Second, your usage is
incorrect--ref types require an operating system pointer or a locative
(since they can be modified)--ref is the analog of c-pointer. For
example, you can change your