
6 Apr
2013
6 Apr
'13
8:03 p.m.
AMDG On 04/05/2013 08:19 AM, Chris Gem wrote:
Please forgive me if this question has been answered but I've searched for days now and cannot find it.
How do I expose a c++ struct with a bit field to python using boost::python?
When I try I get this error.
error: invalid pointer to bit-field ‘frameHdr_s::hdrSize’
You can't take that address of a bitfield. You'll have to use add_property directly. In Christ, Steven Watanabe