Hello.<br>I've started using the v299 FFI, and it is VERY nice. <br><br>But, there are some things I couldn't understand from the documentation.<br><br>I have the following C type declerations:<br><pre>    typedef struct StructName FAR *StructPtr;
<br>    typedef struct StructName<br>    {<br>        StructPtr link;          /* 1 */<br>        int data[12];            /* 2 */<br>    }   StructName<br><br>How do I define it in the new FFI (preferably using define-cstruct)?
<br><br>My problems are: <br>1/  define-cstruct creates a binding for _StructName-pointer, but I can't use it inside the <br>    struct I'm currently defining. Can I just use _pointer instead?<br>2/  What type is it?<br><br>
Also - when I define an enum: (define en (_enum '(a b c))) - how do I access the enumerated elements?<br><br>Thanks!<br><br>Yoav<br></pre><br>