2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-24 18:12:43 +00:00

trivial bugfix

[SVN r13784]
This commit is contained in:
Dave Abrahams
2002-05-09 17:37:06 +00:00
parent c639ac0c5a
commit aa0fc6dfe7
4 changed files with 4 additions and 4 deletions

View File

@@ -105,7 +105,7 @@ struct Foo {
using namespace boost::python;
BOOST_PYTHON_MODULE_INIT(my_module)
{
module m("my_module")
module("my_module")
.add(
class_<Bar>()
)

View File

@@ -104,7 +104,7 @@ Foo* make_foo(int x) { return new Foo(x); }
using namespace boost::python;
BOOST_PYTHON_MODULE_INIT(my_module)
{
module m("my_module")
module("my_module")
.def("make_foo", make_foo)
.add(
class_<Foo>()

View File

@@ -130,7 +130,7 @@ Singleton& get_it()
using namespace boost::python;
BOOST_PYTHON_MODULE_INIT(singleton)
{
module m("singleton")
module("singleton")
.def("get_it", get_it)
.add(
class_<Singleton>()

View File

@@ -118,7 +118,7 @@ struct Foo {
using namespace boost::python;
BOOST_PYTHON_MODULE_INIT(my_module)
{
module m("my_module")
module("my_module")
.add(
class_<Bar>()
)