MCPcopy Create free account
hub / github.com/assimp/assimp / get

Method get

code/Common/ZipArchiveIOSystem.cpp:206–223  ·  view source on GitHub ↗

----------------------------------------------------------------

Source from the content-addressed store, hash-verified

204
205// ----------------------------------------------------------------
206zlib_filefunc_def IOSystem2Unzip::get(IOSystem *pIOHandler) {
207 zlib_filefunc_def mapping;
208
209 mapping.zopen_file = (open_file_func)open;
210#ifdef _UNZ_H
211 mapping.zopendisk_file = (opendisk_file_func)opendisk;
212#endif
213 mapping.zread_file = (read_file_func)read;
214 mapping.zwrite_file = (write_file_func)write;
215 mapping.ztell_file = (tell_file_func)tell;
216 mapping.zseek_file = (seek_file_func)seek;
217 mapping.zclose_file = (close_file_func)close;
218 mapping.zerror_file = testerror;
219
220 mapping.opaque = reinterpret_cast<voidpf>(pIOHandler);
221
222 return mapping;
223}
224
225// ----------------------------------------------------------------
226// Info about a read-only file inside a ZIP

Callers 2

ExtractMethod · 0.45
ReadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected