Skip to main content

mlx_device_info_get_string

Function mlx_device_info_get_string 

Source
pub unsafe extern "C" fn mlx_device_info_get_string(
    value: *mut *const c_char,
    info: mlx_device_info,
    key: *const c_char,
) -> c_int
Expand description

Get a string value from device info. Returns 0 on success, 1 on error, 2 if key not found or wrong type.