pub type ResourceMapIterator = *mut c_void;