[plt-scheme] FFI error in 4.0

Eli Barzilay eli at barzilay.org
Wed Jul 2 20:51:28 EDT 2008


On Jul  2, Jakub Piotr C?apa wrote:
> define-cpointer-type has not been ported to 4.0 and doesn't work
> with the new _ handling.

It was ported, but partially...


> #lang scheme/base
> (require scheme/foreign)
> 
> #;(define-cpointer-type _test #f #f #f) ; this works
> (define-cpointer-type _test)            ; this doesn't and gives a
>                                          ; really obscure error message

Why is it obscure?  It said exactly what was wrong...

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!



More information about the plt-scheme mailing list