2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-30 20:12:37 +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:
Ralf W. Grosse-Kunstleve
2007-09-11 16:53:50 +00:00
parent 04e54d670c
commit 5809078ba9
82 changed files with 2523 additions and 341 deletions

View File

@@ -28,7 +28,7 @@
#include <boost/python/tuple.hpp>
#include <boost/python/extract.hpp>
namespace { // Avoid cluttering the global namespace.
namespace boost_python_test {
// A friendly class.
class world
@@ -88,6 +88,7 @@ namespace { // Avoid cluttering the global namespace.
BOOST_PYTHON_MODULE(pickle2_ext)
{
using namespace boost_python_test;
boost::python::class_<world>(
"world", boost::python::init<const std::string&>())
.def("greet", &world::greet)