Files
lucky-cat/components/platform/third_party/lodepng/lodepng_esp_bridge.cpp
T

18 lines
494 B
C++

#include <stddef.h>
#include "lodepng.h"
extern "C" unsigned lodepng_esp_decode32(unsigned char **out,
unsigned *w,
unsigned *h,
const unsigned char *in,
size_t insize)
{
return lodepng_decode32(out, w, h, in, insize);
}
extern "C" const char *lodepng_esp_error_text(unsigned code)
{
return lodepng_error_text(code);
}