[Pyrex] How to declare the structure with bit-fields in pyrex?

Yong Sun Yong.Sun at Sun.COM
Sat Apr 19 05:42:10 CEST 2008


Hi, experts,

I have one problem, is to declare the data structure with bit-fields in
pyrex, if we have a C structure like

struct Test {
unsigned int head : 4
unsigned int tail : 28
};

How could I declare it in pyrex?

Regards,



More information about the Pyrex mailing list