Skip to main content

mlx_device_info_has_key

Function mlx_device_info_has_key 

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

Check if a key exists in the device info. Returns 0 on success, 1 on error. Sets *exists to true if the key exists, false otherwise.