Function pybind11::detail::resolveQuantityVar#
Defined in File pybind11Utils.h
Function Documentation#
-
inline handle pybind11::detail::resolveQuantityVar(handle value)#
Resolve quantity units when a native Var first reaches Python.
- Parameters:
value – Newly cast Python object, whose reference is transferred here.
- Returns:
The same object with its original reference ownership.