Template Struct PyTypeWrapper#
Defined in File pybind11Utils.h
Struct Documentation#
-
template<class PyClass>
struct PyTypeWrapper# A simple wrapper used for creating the DS method caster.
- Template Parameters:
PyClass – The Python class to create a wrapper for.
Public Functions
-
inline PyTypeWrapper(pybind11::object o)#
Constructor.
- Parameters:
o – The pybind11 object for the PyTypeWrapper to hold.
Public Members
-
pybind11::object obj#
The pybind11 object that this class owns.