[Larceny-users] c union

Eduardo Cavazos wayo.cavazos at gmail.com
Sat Feb 28 17:50:43 EST 2009


Eduardo Cavazos wrote:

> What's the proper way to specify a C union using the FFI?

My workaround for now was to just do a sizeof on the union and define:

     (define make-XYX (make-bytevector the-size-of-XYZ))

Ed





More information about the Larceny-users mailing list