| 26 | namespace { |
| 27 | |
| 28 | extern "C" PyObject *wrapGetLuggage(PyObject * /*self*/, PyObject *traveler) { |
| 29 | const auto *cpp_traveler = pybind11_conduit_v1::get_type_pointer_ephemeral< |
| 30 | pybind11_tests::test_cpp_conduit::Traveler>(traveler); |
| 31 | if (cpp_traveler == nullptr) { |
| 32 | return nullptr; |
| 33 | } |
| 34 | return PyUnicode_FromString(cpp_traveler->luggage.c_str()); |
| 35 | } |
| 36 | |
| 37 | extern "C" PyObject *wrapGetPoints(PyObject * /*self*/, PyObject *premium_traveler) { |
| 38 | const auto *cpp_premium_traveler = pybind11_conduit_v1::get_type_pointer_ephemeral< |
nothing calls this directly
no outgoing calls
no test coverage detected