Function pyo3::internal_tricks::extract_c_string
source · pub(crate) fn extract_c_string(
src: &'static str,
err_msg: &'static str
) -> PyResult<Cow<'static, CStr>>
pub(crate) fn extract_c_string(
src: &'static str,
err_msg: &'static str
) -> PyResult<Cow<'static, CStr>>