Writing C readable bitfield structs?

Roy Smith roy at panix.com
Wed Mar 16 15:12:24 EST 2005


In article <1111002678.866378.102970 at l41g2000cwc.googlegroups.com>,
Cappy2112 <cappy2112 at gmail.com> wrote:
>there is a bitfiled mainpulator class inthe Cookbook, but I don't
>understand his explanation, and the example given doesn't really show
>off the features of the class.

I assume you're talking about the struct module?  If you give an
example of the C struct you're trying to read/write, I could come up
with some sample code to do it.



More information about the Python-list mailing list