summaryrefslogtreecommitdiff
path: root/src/c_fl_png_image.h
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-01-16 14:21:05 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-01-16 14:21:05 +1300
commitdbf6f4db24aee7315b2782a87e127367887e2036 (patch)
tree91f5af52dbdf6be9e1f5026bcf354a6455dd411d /src/c_fl_png_image.h
parentba1719013e5bab82a2accb4aadfd8451c3ebc931 (diff)
Changed reinterpret_cast to static_cast where applicable
Diffstat (limited to 'src/c_fl_png_image.h')
-rw-r--r--src/c_fl_png_image.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/c_fl_png_image.h b/src/c_fl_png_image.h
index 78dd203..83344e0 100644
--- a/src/c_fl_png_image.h
+++ b/src/c_fl_png_image.h
@@ -8,17 +8,14 @@
#define FL_PNG_IMAGE_GUARD
+typedef void* PNGIMAGE;
-typedef void* PNG_IMAGE;
-
-
-
-
-extern "C" PNG_IMAGE new_fl_png_image(const char * f);
-extern "C" PNG_IMAGE new_fl_png_image2(const char *name, void *data, int size);
-extern "C" void free_fl_png_image(PNG_IMAGE p);
+extern "C" PNGIMAGE new_fl_png_image(const char * f);
+extern "C" PNGIMAGE new_fl_png_image2(const char *name, void *data, int size);
+extern "C" void free_fl_png_image(PNGIMAGE p);
#endif
+