summaryrefslogtreecommitdiff
path: root/lodepng.h
diff options
context:
space:
mode:
authorlvandeve <lvandeve@gmail.com>2014-11-20 15:15:29 +0100
committerlvandeve <lvandeve@gmail.com>2014-11-20 15:15:29 +0100
commit0941f444db75ecf6394520399ac82e76d9bb5c54 (patch)
tree43dc7291e89fa7a5d3556afe604ba16d29db6d10 /lodepng.h
parent33f25078705fa73ad87a01d58a933460cc4092a9 (diff)
Update lodepng.h
Rename function because all exported symbol names should start with lodepng to avoid clashes
Diffstat (limited to 'lodepng.h')
-rw-r--r--lodepng.h6
1 files 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,