Skip to main content

mlx_device_info_is_string

Function mlx_device_info_is_string 

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

Check if a value is a string type. Returns 0 on success, 1 on error. Sets *is_string to true if the value is a string, false if it’s a size_t.