pub type alloc_func = Option<unsafe extern "C" fn(opaque: voidpf, items: uInt, size: uInt) -> voidpf>;