On 4/18/07, Andre Kuehne <[EMAIL PROTECTED]> wrote:
I tried to compile something like this:
(crunch
(define (f32vector+ va vb)
(let* ((n (f32vector-length va))
(vr (make-f32vector n 0)))
(do ((i 0 (add1 i)))
((>= i n))
(f32vector-set! vr i (+ (f32vector-ref va i)
(f32vector-ref vb i))))
vr)))
but got the following instead:
Error: illegal foreign return type `f32vector'
Is this currently not supported or is something else misssing?
The valid result types are the intersection of the types that the
Chicken FFI handles (http://chicken.wiki.br/Foreign%20type%20specifiers)
and the types crunch understands, which is c-string and the number types.
cheers,
felix
_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users