| 1662 | // Wrapper around the above that also constructs and returns a type_caster |
| 1663 | template <typename T> |
| 1664 | make_caster<T> load_type(const handle &handle) { |
| 1665 | make_caster<T> conv; |
| 1666 | load_type(conv, handle); |
| 1667 | return conv; |
| 1668 | } |
| 1669 | |
| 1670 | PYBIND11_NAMESPACE_END(detail) |
| 1671 |