[][src]Function mmal_sys::mmal_event_format_changed_get

pub unsafe extern "C" fn mmal_event_format_changed_get(
    buffer: *mut MMAL_BUFFER_HEADER_T
) -> *mut MMAL_EVENT_FORMAT_CHANGED_T

Get a pointer to the \ref MMAL_EVENT_FORMAT_CHANGED_T structure contained in the buffer header. Note that the pointer will point inside the data contained in the buffer header so doesn't need to be freed explicitly.

@param buffer buffer header containing the MMAL_EVENT_FORMAT_CHANGED event. @return pointer to a MMAL_EVENT_FORMAT_CHANGED_T structure.