pub type ResourceCollection = *mut c_void;