MCPcopy Create free account
hub / github.com/Ruddle/Fomos / dealloc

Method dealloc

app_cursor/src/st.rs:99–101  ·  view source on GitHub ↗
(&self, ptr: *mut u8, layout: alloc::alloc::Layout)

Source from the content-addressed store, hash-verified

97 }
98
99 unsafe fn dealloc(&self, ptr: *mut u8, layout: alloc::alloc::Layout) {
100 (self.d)(ptr, layout.size(), layout.align());
101 }
102}
103impl AllocFromCtx {
104 pub const fn init() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected