MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / lodepng_add32bitInt

Function lodepng_add32bitInt

src/lodepng.cpp:336–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334
335#ifdef LODEPNG_COMPILE_ENCODER
336static void lodepng_add32bitInt(ucvector* buffer, unsigned value)
337{
338 ucvector_resize(buffer, buffer->size + 4); /*todo: give error if resize failed*/
339 lodepng_set32bitInt(&buffer->data[buffer->size - 4], value);
340}
341#endif /*LODEPNG_COMPILE_ENCODER*/
342
343/* ////////////////////////////////////////////////////////////////////////// */

Callers 3

lodepng_zlib_compressFunction · 0.85
addChunk_IHDRFunction · 0.85
addChunk_pHYsFunction · 0.85

Calls 2

ucvector_resizeFunction · 0.85
lodepng_set32bitIntFunction · 0.85

Tested by

no test coverage detected