| 33 | using namespace boost::python; |
| 34 | |
| 35 | BOOST_PYTHON_MODULE(inheritance) |
| 36 | { |
| 37 | class_<Base, boost::noncopyable>("Base") |
| 38 | .def("name", &Base::name) |
| 39 | ; |
| 40 | |
| 41 | class_<Derived, bases<Base> >("Derived") |
| 42 | ; |
| 43 | |
| 44 | def("fb", fb); |
| 45 | def("fd", fd); |
| 46 | def("factory", factory, return_value_policy<manage_new_object>()); |
| 47 | } |
nothing calls this directly
no outgoing calls
no test coverage detected