[Pyrex] field width in structs

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Mar 13 01:03:14 CET 2008


Simon Burton wrote:
> Is it possible to define a struct with bitfield members:
> 
> cdef struct foo:
> 	int bar : 2

Not within Pyrex. But you could create a .h file with a
suitable declaration and reference it as an external
header in Pyrex.

-- 
Greg



More information about the Pyrex mailing list