From 0941f444db75ecf6394520399ac82e76d9bb5c54 Mon Sep 17 00:00:00 2001 From: lvandeve Date: Thu, 20 Nov 2014 15:15:29 +0100 Subject: Update lodepng.h Rename function because all exported symbol names should start with lodepng to avoid clashes --- lodepng.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lodepng.h b/lodepng.h index a934118..035a292 100644 --- a/lodepng.h +++ b/lodepng.h @@ -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, -- cgit v1.2.3