Function yasmin::callback_signal_pyutils::cast_python_callback_signal
Defined in File callback_signal_pyutils.hpp
Function Documentation
-
inline CallbackSignal::SharedPtr yasmin::callback_signal_pyutils::cast_python_callback_signal(const py::object &value)
Convert a Python CallbackSignal object into its native shared pointer.
- Parameters:
value – Python object expected to hold a yasmin.CallbackSignal instance.
- Throws:
std::runtime_error – if the conversion fails.
- Returns:
Shared pointer to the native CallbackSignal.