[plt-scheme] simple ffi problem
I grabbed the v299.108 binaries today, and still have the same problem...
> However, I can't get the syntax right for the external C function:
>
> void fun2 (int in1, double *arr);
>
> I've tried:
>
> (define fun2
> (get-ffi-obj "fun2" "myclib"
> (_fun _int _cvector -> _void)))
>
> and
>
> (define fun2
> (get-ffi-obj "fun2" "myclib"
> (_fun _int (_cvector i _double) -> _void)))
>
> but keep getting errors like:
>
> procedure application: expected procedure, given: #f;
> arguments were: #<struct:fun-syntax> #<syntax:36:26>