[Larceny-users] boxed vs. void* in the Larceny FFI on Windows

Felix Klock felixluser at pnkfx.org
Mon Jul 23 04:09:43 EDT 2007


David-

On Jul 23, 2007, at 1:20 AM, David Rush wrote:

> I am presuming that you must pass this as a
> list where normally you are using symbols in the FFI specs. I don't
> recall seeing the maybe form in the *ffi-attributes* list in std-ffi
> anyway.

Yes; maybe is a type constructor, rather than a type constant.  The  
*ffi-attributes* list holds only type constants.

(The FFI was only recently extended to support type constructors; the  
main reason was to be able to describe callbacks with the '->' type  
constructor.)

-Felix




More information about the Larceny-users mailing list