[racket] Accessing the fields of FFI/C data types

From: Lewis (lewis1711 at gmail.com)
Date: Fri Jan 14 23:38:23 EST 2011

Hi all,

Take the simple example below;

(require ffi/unsafe)
(define _foo (_enum '(a b)))

how would one access the a field of _foo? I could find nothing about
this in the FFI section on ctypes.

thanks,
Lewis


Posted on the users mailing list.