[C++-sig] How to wrap class enums
Deepankar Sharma
deepankar.sharma at gmail.com
Sat Mar 8 21:17:55 CET 2014
Any pointers on how to expose class enums to Python? Given the following
enum what would the boost code to expose it to python look like? The page
at http://www.boost.org/doc/libs/1_55_0/libs/python/doc/v2/enum.html only
lists examples of old style enums.
enum class t_functions
{
ADD, SUB, MUL, DIV
};
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20140308/d5302999/attachment.html>
More information about the Cplusplus-sig
mailing list