pub type FnGetFenceStatus = extern "system" fn(device: Device, fence: Fence) -> Result;