blob: b17521f701daf99ad021118dc4cbb5ec1a0ef1bc [file] [log] [blame]
pub type Key = usize;
#[inline]
pub unsafe fn create(_dtor: Option<unsafe extern "C" fn(*mut u8)>) -> Key {
panic!("should not be used on the solid target");
}
#[inline]
pub unsafe fn set(_key: Key, _value: *mut u8) {
panic!("should not be used on the solid target");
}
#[inline]
pub unsafe fn get(_key: Key) -> *mut u8 {
panic!("should not be used on the solid target");
}
#[inline]
pub unsafe fn destroy(_key: Key) {
panic!("should not be used on the solid target");
}
#[inline]
pub fn requires_synchronized_create() -> bool {
panic!("should not be used on the solid target");
}