Skip to main content

M_isHostDevice

Function M_isHostDevice 

Source
pub unsafe extern "C" fn M_isHostDevice(
    device: *const M_Device,
) -> c_int
Expand description

Checks if the device is a host device.

@param device The device.

@returns 1 if the device is the host, 0 otherwise.