MCPcopy Create free account
hub / github.com/DFHack/dfhack / ucvector_init

Function ucvector_init

depends/lodepng/lodepng.cpp:284–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284static ucvector ucvector_init(unsigned char* buffer, size_t size) {
285 ucvector v;
286 v.data = buffer;
287 v.allocsize = v.size = size;
288 return v;
289}
290
291/* ////////////////////////////////////////////////////////////////////////// */
292

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