[gambit-list] FFI

FFT fft1976 at gmail.com
Thu May 21 02:33:25 EDT 2009


On Wed, May 20, 2009 at 8:31 PM, Marc Feeley <feeley at iro.umontreal.ca> wrote:

> Do you have an example of the kind of C struct you want to interface to?

struct s1 {
    float x, y, z;
};

struct s2 {
    struct s1 coordinates[4];
    char name[5];
    int tag : 3;
    unsigned flag : 1;
    unsigned direction : 2;
};



More information about the Gambit-list mailing list