[][src]Type Definition mmal_sys::MMAL_POOL_BH_CB_T

type MMAL_POOL_BH_CB_T = Option<unsafe extern "C" fn(pool: *mut MMAL_POOL_T, buffer: *mut MMAL_BUFFER_HEADER_T, userdata: *mut c_void) -> MMAL_BOOL_T>;

Definition of the callback used by a pool to signal back to the user that a buffer header has been released back to the pool.

@param pool Pointer to the pool @param buffer Buffer header just released @param userdata User specific data passed in when setting the callback @return True to have the buffer header put back in the pool's queue, false if the buffer header has been taken within the callback.