| 40 | } |
| 41 | |
| 42 | static void case_pointer(PointerType const* Ty, void* Ptr, py::handle Obj) |
| 43 | { |
| 44 | CPointerObj const& PtrObj = Obj.cast<CPointerObj const&>(); |
| 45 | void** PPtr = reinterpret_cast<void**>(Ptr); |
| 46 | *PPtr = PtrObj.getPtr(); |
| 47 | } |
| 48 | |
| 49 | template <class T> |
| 50 | static void case_composite(T const* Ty, void* Ptr, py::handle Obj) |