pub type alloc_func = unsafe extern "C" fn(_: voidpf, _: uInt, _: uInt) -> voidpf;