[plt-scheme] ffi question

From: Gregory Cooper (greg at cs.brown.edu)
Date: Fri Jul 7 14:47:21 EDT 2006

How would I represent a C struct with explicitly-sized inline arrays?
For example:

struct foo {
  char v[32];
  int x;

I tried (cvector-type (make-cvector _byte 32)), but ctype-sizeof
returns 1 for that.


Posted on the users mailing list.