From dbf6f4db24aee7315b2782a87e127367887e2036 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Thu, 16 Jan 2025 14:21:05 +1300 Subject: Changed reinterpret_cast to static_cast where applicable --- src/c_fl_image.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/c_fl_image.h') diff --git a/src/c_fl_image.h b/src/c_fl_image.h index 75afb4a..ee96b7a 100644 --- a/src/c_fl_image.h +++ b/src/c_fl_image.h @@ -8,13 +8,9 @@ #define FL_IMAGE_GUARD - - typedef void* IMAGE; - - extern "C" IMAGE new_fl_image(int w, int h, int d); extern "C" void free_fl_image(IMAGE i); @@ -25,8 +21,6 @@ extern "C" IMAGE fl_image_copy(IMAGE i, int w, int h); extern "C" IMAGE fl_image_copy2(IMAGE i); - - extern "C" void fl_image_color_average(IMAGE i, int c, float b); extern "C" void fl_image_desaturate(IMAGE i); @@ -55,3 +49,4 @@ extern "C" void fl_image_draw_empty(IMAGE i, int x, int y); #endif + -- cgit