|
Boost Users : |
Subject: Re: [Boost-users] c++ Bit Fields
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-04-06 16:03:55
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net