[][src]Function mmal_sys::mmal_component_acquire

pub unsafe extern "C" fn mmal_component_acquire(
    component: *mut MMAL_COMPONENT_T
)

Acquire a reference on a component. Acquiring a reference on a component will prevent a component from being destroyed until the acquired reference is released (by a call to \ref mmal_component_destroy). References are internally counted so all acquired references need a matching call to release them.

@param component component to acquire