From a8eb3979ee0bbd4ce0ab5904077f0ad4d02e16f4 Mon Sep 17 00:00:00 2001 From: Raoul Gough Date: Wed, 10 Sep 2003 15:39:31 +0000 Subject: [PATCH] Added setTrace def [SVN r1527] --- include/boost/python/suite/indexing/testsuite.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/python/suite/indexing/testsuite.cpp b/include/boost/python/suite/indexing/testsuite.cpp index 758462dc..2f11aa2d 100755 --- a/include/boost/python/suite/indexing/testsuite.cpp +++ b/include/boost/python/suite/indexing/testsuite.cpp @@ -59,6 +59,8 @@ BOOST_PYTHON_MODULE(testsuite) { boost::python::implicitly_convertible (); + boost::python::def ("setTrace", &IntWrapper::setTrace); + boost::python::class_ ("IntWrapper", boost::python::init()) .def ("increment", &IntWrapper::increment) .def ("__repr__", repr);