summaryrefslogtreecommitdiff
path: root/src/c_fl_png_image.cpp
blob: 16d592733961e48be5dbf472c5a3bd9390567248 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16


#include <FL/Fl_PNG_Image.H>
#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);
}