open_entry_bindings/
shared_memory.rs

1use std::sync::Arc;
2
3pub type SharedMemory = Arc<Memory>;
4
5#[repr(transparent)]
6pub struct Memory {
7    _memory: [u8]
8}
9
10impl Memory {
11    #[inline(always)] pub fn ptr(&self) -> *const u8 {
12        unsafe { crate::Memory__ptr.unwrap_unchecked()(self) }
13    }
14}