mirror of
https://github.com/boostorg/python.git
synced 2026-01-20 04:42:28 +00:00
enum export
[SVN r16604]
This commit is contained in:
@@ -19,6 +19,7 @@ BOOST_PYTHON_MODULE(enum_ext)
|
||||
.value("red", red)
|
||||
.value("green", green)
|
||||
.value("blue", blue)
|
||||
.export_values()
|
||||
;
|
||||
|
||||
def("identity", identity_);
|
||||
|
||||
Reference in New Issue
Block a user