[][src]Function mmal_sys::mmal_pool_callback_set

pub unsafe extern "C" fn mmal_pool_callback_set(
    pool: *mut MMAL_POOL_T,
    cb: MMAL_POOL_BH_CB_T,
    userdata: *mut c_void
)

Set a buffer header release callback to the pool. Each time a buffer header is released to the pool, the callback will be triggered.

@param pool Pointer to a pool @param cb Callback function @param userdata User specific data which will be passed with each callback