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


#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);
}