[C++-sig] Exposing Enums with same values
Roman Yakovenko
roman.yakovenko at gmail.com
Wed Jul 26 06:45:30 CEST 2006
On 7/26/06, Anand, Kumar <kanand at qualcomm.com> wrote:
> Hi,
> 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:
import Boost_Test
Boost_Test.HOST_TYPE_COMMON = Boost_Test.HOST_TYPE_AT
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
More information about the Cplusplus-sig
mailing list