(&self, layout: alloc::alloc::Layout)
| 1897 | } |
| 1898 | unsafe impl GlobalAlloc for AllocFromCtx { |
| 1899 | unsafe fn alloc(&self, layout: alloc::alloc::Layout) -> *mut u8 { |
| 1900 | (self.a)(layout.size(), layout.align()) |
| 1901 | } |
| 1902 | |
| 1903 | unsafe fn dealloc(&self, ptr: *mut u8, layout: alloc::alloc::Layout) { |
| 1904 | (self.d)(ptr, layout.size(), layout.align()); |
nothing calls this directly
no outgoing calls
no test coverage detected