[racket] newbie: foreign C structure definition question

From: Eli Barzilay (eli at barzilay.org)
Date: Tue Nov 16 23:37:17 EST 2010

Three minutes ago, Jay McCarthy wrote:
> We could use a syntax parameter in define-cstruct to communicate to
> the vector syntax to give them the correct size in structs and make
> my macro's approach the normal behavior.

* Types in a cstruct are plain expressions (that should evaluate to
  ctype values).

* Arrays should be available as a type outside of cstructs too.

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

Posted on the users mailing list.