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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.