pub type ResourceReleasePhase = c_uint;