MCPcopy Create free account
hub / github.com/TheRealMJP/BakingLab / mz_zip_array_clear

Function mz_zip_array_clear

SampleFramework11/v1.02/TinyEXR.cpp:4295–4299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4293 ((element_type *)((array_ptr)->m_p))[index]
4294
4295static MZ_FORCEINLINE void mz_zip_array_clear(mz_zip_archive *pZip,
4296 mz_zip_array *pArray) {
4297 pZip->m_pFree(pZip->m_pAlloc_opaque, pArray->m_p);
4298 memset(pArray, 0, sizeof(mz_zip_array));
4299}
4300
4301static mz_bool mz_zip_array_ensure_capacity(mz_zip_archive *pZip,
4302 mz_zip_array *pArray,

Callers 2

mz_zip_reader_endFunction · 0.85
mz_zip_writer_endFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected