[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] Ref foreign type.
From: |
Nicholas \"Indy\" Ray |
Subject: |
[Chicken-users] Ref foreign type. |
Date: |
Mon, 21 Sep 2009 17:04:47 -0700 |
(print
((foreign-lambda* bool (((ref char) mC))
"C_return(mC == 'c');")
#\c))
compiling this with csc from Chicken 4 gives me the error:
Error: illegal foreign type `ref'
I find this odd as in c-backend.scm:1170 in foreign-type-declaration this code exists:
((and (= 2 len)
(eq? 'ref (car type)))
(foreign-type-declaration (cadr type) (string-append "&" target)) )
Implying that ref should still be supported.
Any help with this would be greatly appreciated.
Indy
- [Chicken-users] Ref foreign type.,
Nicholas \"Indy\" Ray <=