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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user