MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / logPngWarning

Function logPngWarning

source/core/StarImage.cpp:12–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10};
11
12void logPngWarning(png_structp png_ptr, png_const_charp c) {
13 Logger::debug("PNG warning in file: '{}', {}", ((IODevice*)png_get_error_ptr(png_ptr))->deviceName(), c);
14};
15
16void readPngData(png_structp pngPtr, png_bytep data, png_size_t length) {
17 ((IODevice*)png_get_io_ptr(pngPtr))->readFull((char*)data, length);

Callers

nothing calls this directly

Calls 1

deviceNameMethod · 0.45

Tested by

no test coverage detected