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


//  Programmed by Jedidiah Barber
//  Released into the public domain


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