diff options
author | lvandeve <lvandeve@gmail.com> | 2014-11-20 15:15:29 +0100 |
---|---|---|
committer | lvandeve <lvandeve@gmail.com> | 2014-11-20 15:15:29 +0100 |
commit | 0941f444db75ecf6394520399ac82e76d9bb5c54 (patch) | |
tree | 43dc7291e89fa7a5d3556afe604ba16d29db6d10 | |
parent | 33f25078705fa73ad87a01d58a933460cc4092a9 (diff) |
Update lodepng.h
Rename function because all exported symbol names should start with lodepng to avoid clashes
-rw-r--r-- | lodepng.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -568,9 +568,9 @@ typedef struct LodePNGColorProfile void lodepng_color_profile_init(LodePNGColorProfile* profile); /*Get a LodePNGColorProfile of the image.*/ -unsigned get_color_profile(LodePNGColorProfile* profile, - const unsigned char* image, unsigned w, unsigned h, - const LodePNGColorMode* mode_in); +unsigned lodepng_get_color_profile(LodePNGColorProfile* profile, + const unsigned char* image, unsigned w, unsigned h, + const LodePNGColorMode* mode_in); /*The function LodePNG uses internally to decide the PNG color with auto_convert. Chooses an optimal color model, e.g. grey if only grey pixels, palette if < 256 colors, ...*/ unsigned lodepng_auto_choose_color(LodePNGColorMode* mode_out, |