Hi!<br><br>I have the following c-code:<br><br>typedef struct expansion_t {
<br>&nbsp;&nbsp;&nbsp; int type;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; 
<br>&nbsp;<br>&nbsp;&nbsp;&nbsp; union {
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; struct nunchuk_t nunchuk;
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; struct classic_ctrl_t classic;
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; struct guitar_hero_3_t gh3;
<br>&nbsp;&nbsp;&nbsp; };
<br>} expansion_t;
<br><br><br>Where all the structures in the union are of a different size.<br><br>Now, I know that pyrex can&#39;t nest ctypedefs, but is it possible to convert this code to pyrex, so<br>that I can refer to both exp.type and exp.gh3, if object is an expansion_t?<br>
<br>J. Mickelin<br>