Function yrs::yinput_string
source · #[no_mangle]
pub unsafe extern "C" fn yinput_string(str: *const c_char) -> YInput
Expand description
Function constructor used to create a string YInput
cell. Provided parameter must be
a null-terminated UTF-8 encoded string. This function doesn’t allocate any heap resources,
and doesn’t release any on its own, therefore its up to a caller to free resources once
a structure is no longer needed.