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


#include <FL/Fl_PNM_Image.H>
#include "c_fl_pnm_image.h"




PNM_IMAGE new_fl_pnm_image(const char * f) {
    Fl_PNM_Image *p = new Fl_PNM_Image(f);
    return p;
}

void free_fl_pnm_image(PNM_IMAGE p) {
    delete reinterpret_cast<Fl_PNM_Image*>(p);
}