MLIR
18.0.0git
|
Casts object <-> MlirType. More...
#include "mlir/Bindings/Python/PybindAdaptors.h"
Public Member Functions | |
PYBIND11_TYPE_CASTER (MlirType, _("MlirType")) | |
bool | load (handle src, bool) |
Static Public Member Functions | |
static handle | cast (MlirType t, return_value_policy, handle) |
Casts object <-> MlirType.
Definition at line 276 of file PybindAdaptors.h.
|
inlinestatic |
Definition at line 283 of file PybindAdaptors.h.
References MAKE_MLIR_PYTHON_QUALNAME, MLIR_PYTHON_CAPI_FACTORY_ATTR, MLIR_PYTHON_MAYBE_DOWNCAST_ATTR, and mlirPythonTypeToCapsule().
|
inline |
Definition at line 278 of file PybindAdaptors.h.
References pybind11::detail::mlirApiObjectToCapsule(), mlirPythonCapsuleToType(), and mlirTypeIsNull().
pybind11::detail::type_caster< MlirType >::PYBIND11_TYPE_CASTER | ( | MlirType | , |
_("MlirType") | |||
) |