mirror of
https://github.com/boostorg/python.git
synced 2026-01-30 08:02:38 +00:00
Patches by Nikolay Mladenov (nickm at sitius com): new pythonic signatures; docstring support for enums; fix unrelated Visual C++ 6 problem
[SVN r39191]
This commit is contained in:
@@ -52,7 +52,7 @@ int Var::static1 = 0;
|
||||
Y Var::static2(0);
|
||||
|
||||
// Compilability regression tests
|
||||
namespace
|
||||
namespace boost_python_test
|
||||
{
|
||||
struct trivial
|
||||
{
|
||||
@@ -86,6 +86,7 @@ namespace
|
||||
|
||||
BOOST_PYTHON_MODULE(data_members_ext)
|
||||
{
|
||||
using namespace boost_python_test;
|
||||
class_<X>("X", init<int>())
|
||||
.def("value", &X::value)
|
||||
.def("set", &X::set)
|
||||
|
||||
Reference in New Issue
Block a user