[C++-sig] Exposing Enums with same values
roman.yakovenko at gmail.com
Wed Jul 26 06:45:30 CEST 2006
On 7/26/06, Anand, Kumar <kanand at qualcomm.com> wrote:
> I am trying to expose an Enum (defined in C++) to Python using Boost Python.
> // Please note that the 2 of the enums have the same value.
Somewhere there is a patch that fixes this situation.
You can also fix it manually from Python:
Boost_Test.HOST_TYPE_COMMON = Boost_Test.HOST_TYPE_AT
C++ Python language binding
More information about the Cplusplus-sig