minizip: Reapply Godot-specific changes for seek support
I have not assessed whether they are still all relevant.
This commit is contained in:
8
thirdparty/minizip/ioapi.h
vendored
8
thirdparty/minizip/ioapi.h
vendored
@ -145,6 +145,10 @@ typedef struct zlib_filefunc_def_s
|
||||
close_file_func zclose_file;
|
||||
testerror_file_func zerror_file;
|
||||
voidpf opaque;
|
||||
/* GODOT start */
|
||||
alloc_func alloc_mem;
|
||||
free_func free_mem;
|
||||
/* GODOT end */
|
||||
} zlib_filefunc_def;
|
||||
|
||||
typedef ZPOS64_T (ZCALLBACK *tell64_file_func) OF((voidpf opaque, voidpf stream));
|
||||
@ -161,6 +165,10 @@ typedef struct zlib_filefunc64_def_s
|
||||
close_file_func zclose_file;
|
||||
testerror_file_func zerror_file;
|
||||
voidpf opaque;
|
||||
/* GODOT start */
|
||||
alloc_func alloc_mem;
|
||||
free_func free_mem;
|
||||
/* GODOT end */
|
||||
} zlib_filefunc64_def;
|
||||
|
||||
void fill_fopen64_filefunc OF((zlib_filefunc64_def* pzlib_filefunc_def));
|
||||
|
||||
Reference in New Issue
Block a user