inputs: &[AllocatorTy::Layout],
output: AllocatorTy::ResultPtr,
},
- AllocatorMethod {
- name: "oom",
- inputs: &[],
- output: AllocatorTy::Bang,
- },
AllocatorMethod {
name: "dealloc",
inputs: &[AllocatorTy::Ptr, AllocatorTy::Layout],
}
pub enum AllocatorTy {
- Bang,
Layout,
Ptr,
ResultPtr,