(&self, ptr: *mut u8, layout: alloc::alloc::Layout)
| 1901 | } |
| 1902 | |
| 1903 | unsafe fn dealloc(&self, ptr: *mut u8, layout: alloc::alloc::Layout) { |
| 1904 | (self.d)(ptr, layout.size(), layout.align()); |
| 1905 | } |
| 1906 | } |
| 1907 | impl AllocFromCtx { |
| 1908 | pub const fn init() -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected