2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-22 05:22:45 +00:00

Merge Trunk changes to RC_1_29_0

[SVN r15732]
This commit is contained in:
Dave Abrahams
2002-10-05 12:53:06 +00:00
parent 0462c4d2f4
commit c33ac6b47a
154 changed files with 4121 additions and 9390 deletions

View File

@@ -5,7 +5,7 @@
// to its suitability for any purpose.
#include <boost/python/enum.hpp>
#include <boost/python/def.hpp>
#include <boost/python/module_init.hpp>
#include <boost/python/module.hpp>
using namespace boost::python;
@@ -13,7 +13,7 @@ enum color { red = 1, green = 2, blue = 4 };
color identity_(color x) { return x; }
BOOST_PYTHON_MODULE_INIT(enum_ext)
BOOST_PYTHON_MODULE(enum_ext)
{
enum_<color>("color")
.value("red", red)