open_entry_bindings/stack.rs
1#[repr(transparent)]
2pub struct Stack(usize);
3
4impl Stack {
5 #[inline(always)] pub fn dispose(&self, stack_size: usize) {
6 unsafe { crate::Stack__dispose.unwrap_unchecked()(self, stack_size) }
7 }
8
9 #[inline(always)] pub fn ptr(&self) -> u64 {
10 unsafe { crate::Stack__ptr.unwrap_unchecked()(self) }
11 }
12}