[][src]Function mmal_sys::mmal_util_get_port

pub unsafe extern "C" fn mmal_util_get_port(
    comp: *mut MMAL_COMPONENT_T,
    type_: MMAL_PORT_TYPE_T,
    index: c_uint
) -> *mut MMAL_PORT_T

Return the nth port.

@param comp component to query @param index port index @param type port type

@return port or NULL if not found