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


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