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


#include <FL/Fl_BMP_Image.H>
#include "c_fl_bmp_image.h"


BMP_IMAGE new_fl_bmp_image(const char * f) {
    Fl_BMP_Image *b = new Fl_BMP_Image(f);
    return b;
}

void free_fl_bmp_image(BMP_IMAGE b) {
    delete reinterpret_cast<Fl_BMP_Image*>(b);
}