record Alloc { u8* userdata; u8*(u8* userdata, u8* ptr, u32 sz)* realloc; }