summaryrefslogtreecommitdiff
path: root/src/c_fl_png_image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_png_image.cpp')
-rw-r--r--src/c_fl_png_image.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/c_fl_png_image.cpp b/src/c_fl_png_image.cpp
index 16d5927..132c567 100644
--- a/src/c_fl_png_image.cpp
+++ b/src/c_fl_png_image.cpp
@@ -4,12 +4,13 @@
#include "c_fl_png_image.h"
+
+
PNG_IMAGE new_fl_png_image(const char * f) {
Fl_PNG_Image *p = new Fl_PNG_Image(f);
return p;
}
-
void free_fl_png_image(PNG_IMAGE p) {
delete reinterpret_cast<Fl_PNG_Image*>(p);
}