[plt-scheme] how to use import struct in FFI?

From: zen1986 at gmail.com (zen1986 at gmail.com)
Date: Sun Oct 19 03:57:39 EDT 2008

Hi,
If this seems trivial, please bear with me...
How can I use struct defined in C in my scheme code?
I spent hours googled it and looked at manual but still no result.
I know in Lisp there is a :EXTERNAL and :TYPEDEF option to import
struct in header file and local file what is the equivalents in
scheme?
Thanks.


Posted on the users mailing list.