Re: field width in structs
Greg Ewing <[email protected]>
| Newsgroups | gmane.comp.python.pyrex |
|---|---|
| Message-ID | <[email protected]> |
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