summaryrefslogtreecommitdiff
path: root/src/c_fl_xpm_image.cpp
blob: 7902020247920b7728772bc5bdde9b4734d19ad1 (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_XPM_Image.H>
#include "c_fl_xpm_image.h"




XPM_IMAGE new_fl_xpm_image(const char * f) {
    Fl_XPM_Image *j = new Fl_XPM_Image(f);
    return j;
}

void free_fl_xpm_image(XPM_IMAGE j) {
    delete reinterpret_cast<Fl_XPM_Image*>(j);
}