pub unsafe extern "C" fn AMidiDevice_getNumInputPorts(
    device: *const AMidiDevice
) -> ssize_t