MCPcopy Create free account
hub / github.com/KhronosGroup/KTX-Software / ucvector_init

Function ucvector_init

external/lodepng/lodepng.cpp:305–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303}
304
305static ucvector ucvector_init(unsigned char* buffer, size_t size) {
306 ucvector v;
307 v.data = buffer;
308 v.allocsize = v.size = size;
309 return v;
310}
311
312/* ////////////////////////////////////////////////////////////////////////// */
313

Callers 6

lodepng_inflateFunction · 0.85
lodepng_deflateFunction · 0.85
lodepng_zlib_decompressFunction · 0.85
zlib_decompressFunction · 0.85
lodepng_chunk_createFunction · 0.85
lodepng_encodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected