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