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

Added setTrace def

[SVN r1527]
This commit is contained in:
Raoul Gough
2003-09-10 15:39:31 +00:00
parent de1ea325bd
commit a8eb3979ee

View File

@@ -59,6 +59,8 @@ BOOST_PYTHON_MODULE(testsuite)
{
boost::python::implicitly_convertible <int, IntWrapper>();
boost::python::def ("setTrace", &IntWrapper::setTrace);
boost::python::class_<IntWrapper> ("IntWrapper", boost::python::init<int>())
.def ("increment", &IntWrapper::increment)
.def ("__repr__", repr);