MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / mz_zip_array_reserve

Function mz_zip_array_reserve

SampleFramework12/v1.00/TinyEXR.cpp:4324–4332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4322}
4323
4324static MZ_FORCEINLINE mz_bool
4325mz_zip_array_reserve(mz_zip_archive *pZip, mz_zip_array *pArray,
4326 size_t new_capacity, mz_uint growing) {
4327 if (new_capacity > pArray->m_capacity) {
4328 if (!mz_zip_array_ensure_capacity(pZip, pArray, new_capacity, growing))
4329 return MZ_FALSE;
4330 }
4331 return MZ_TRUE;
4332}
4333
4334static MZ_FORCEINLINE mz_bool
4335mz_zip_array_resize(mz_zip_archive *pZip, mz_zip_array *pArray, size_t new_size,

Callers 1

mz_zip_array_ensure_roomFunction · 0.85

Calls 1

Tested by

no test coverage detected