Function yrs::yinput_ymap

source ·
#[no_mangle]
pub unsafe extern "C" fn yinput_ymap(
    keys: *mut *mut c_char,
    values: *mut YInput,
    len: u32
) -> YInput
Expand description

Function constructor used to create a nested YMap YInput cell prefilled with other key-value pairs. These pairs are build from corresponding indexes of keys and values, which must have the same specified length.

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.