| 34 | // TODO: assert alignment is correct! |
| 35 | template <class T> |
| 36 | static void case_basic(BasicType const* Ty, void* Ptr, py::handle Obj) |
| 37 | { |
| 38 | T* TPtr = reinterpret_cast<T*>(Ptr); |
| 39 | *TPtr = Obj.cast<T>(); |
| 40 | } |
| 41 | |
| 42 | static void case_pointer(PointerType const* Ty, void* Ptr, py::handle Obj) |
| 43 | { |
nothing calls this directly
no outgoing calls
no test coverage detected