| 17 | using namespace boost::python; |
| 18 | |
| 19 | struct BaseWrap : Base, wrapper<Base> |
| 20 | { |
| 21 | virtual std::string name() const |
| 22 | { |
| 23 | if (override n = this->get_override("name")) |
| 24 | return n(); |
| 25 | return Base::name(); |
| 26 | } |
| 27 | std::string default_name() const |
| 28 | { |
| 29 | return this->Base::name(); |
| 30 | } |
| 31 | }; |
| 32 | |
| 33 | BOOST_PYTHON_MODULE(virtual) |
| 34 | { |
nothing calls this directly
no outgoing calls
no test coverage detected