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


#include <FL/Fl_XBM_Image.H>
#include "c_fl_xbm_image.h"


XBM_IMAGE new_fl_xbm_image(const char * f) {
    Fl_XBM_Image *b = new Fl_XBM_Image(f);
    return b;
}


void free_fl_xbm_image(XBM_IMAGE b) {
    delete reinterpret_cast<Fl_XBM_Image*>(b);
}