[C++-sig] how do i wrap enums defined in a struct/class
horace(seednet)
horace_hdsl at seed.net.tw
Wed Jan 8 15:19:31 CET 2003
Could anybody be so kind to tell me how to wrap this code snippet (or where can I find the example) by Boost.Python :
//
struct NeedToBeWrapped
{
enum color { eRed = 0,
eGreen = 1,
eBlue = 2
};
enum ErrorStatus { eES1 = 0,
eES2 = 1,
eES3 = 2
};
...
};
Regards
T.L.Ho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20030108/88f9d8fd/attachment.htm>
More information about the Cplusplus-sig
mailing list