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

Method dealloc

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

Source from the content-addressed store, hash-verified

1901 }
1902
1903 unsafe fn dealloc(&self, ptr: *mut u8, layout: alloc::alloc::Layout) {
1904 (self.d)(ptr, layout.size(), layout.align());
1905 }
1906}
1907impl AllocFromCtx {
1908 pub const fn init() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected