comments
This commit is contained in:
parent
4db0da26ee
commit
1b6ea4042d
@ -1097,11 +1097,18 @@ mz_bool mz_zip_reader_init_mem(mz_zip_archive *pZip, const void *pMem, size_t si
|
||||
/* Read a archive from a disk file. */
|
||||
/* file_start_ofs is the file offset where the archive actually begins, or 0. */
|
||||
/* actual_archive_size is the true total size of the archive, which may be smaller than the file's actual size on disk. If zero the entire file is treated as the archive. */
|
||||
|
||||
/* Partial conversion to wchar_t on Windows. This is necessary to
|
||||
access Windows file names in a reasonably sane way. Only the very
|
||||
few calls used by Recoll have been converted though. A full
|
||||
conversion would be much more work. The original miniz does not use
|
||||
wchar_t at all */
|
||||
#ifdef _WIN32
|
||||
#define WCHAR_TYPE wchar_t
|
||||
#else
|
||||
#define WCHAR_TYPE char
|
||||
#endif
|
||||
|
||||
mz_bool mz_zip_reader_init_file(mz_zip_archive *pZip, const WCHAR_TYPE *pFilename, mz_uint32 flags);
|
||||
mz_bool mz_zip_reader_init_file_v2(mz_zip_archive *pZip, const WCHAR_TYPE *pFilename, mz_uint flags, mz_uint64 file_start_ofs, mz_uint64 archive_size);
|
||||
/* Read an archive from an already opened FILE, beginning at the current file position. */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user