[plt-scheme] ffi question

From: Eli Barzilay (eli at barzilay.org)
Date: Fri Jul 7 16:17:42 EDT 2006

On Jul  7, Gregory Cooper wrote:
> How would I represent a C struct with explicitly-sized inline
> arrays?  [...]

There is no direct way to do that.  The best for now is some hack like
32 byte fields, etc.  Also, referencing this block (if it's a string)
is a problem.

(This is all (also union types) due to lack of support from ffi-lib
that I need to hack around sometimes.)

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

Posted on the users mailing list.