MCPcopy Create free account
hub / github.com/axmolengine/axmol / fill_memory_filefunc

Function fill_memory_filefunc

3rdparty/unzip/ioapi_mem.cpp:156–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156void fill_memory_filefunc(zlib_filefunc_def *pzlib_filefunc_def, ourmemory_t *ourmem)
157{
158 pzlib_filefunc_def->zopen_file = fopen_mem_func;
159 pzlib_filefunc_def->zopendisk_file = fopendisk_mem_func;
160 pzlib_filefunc_def->zread_file = fread_mem_func;
161 pzlib_filefunc_def->zwrite_file = fwrite_mem_func;
162 pzlib_filefunc_def->ztell_file = ftell_mem_func;
163 pzlib_filefunc_def->zseek_file = fseek_mem_func;
164 pzlib_filefunc_def->zclose_file = fclose_mem_func;
165 pzlib_filefunc_def->zerror_file = ferror_mem_func;
166 pzlib_filefunc_def->opaque = ourmem;
167}

Callers 1

initWithDataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected