| 23 | using Abase::Abase; |
| 24 | |
| 25 | int Add(int other_val) const override { |
| 26 | PYBIND11_OVERRIDE_PURE(int, /* Return type */ |
| 27 | Abase, /* Parent class */ |
| 28 | Add, /* Name of function in C++ (must match Python name) */ |
| 29 | other_val); |
| 30 | } |
| 31 | }; |
| 32 | |
| 33 | int AddInCppRawPtr(const Abase *obj, int other_val) { return obj->Add(other_val) * 10 + 7; } |
no outgoing calls
no test coverage detected