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


#include <FL/Fl_JPEG_Image.H>
#include "c_fl_jpeg_image.h"




JPEG_IMAGE new_fl_jpeg_image(const char * f) {
    Fl_JPEG_Image *j = new Fl_JPEG_Image(f);
    return j;
}

JPEG_IMAGE new_fl_jpeg_image2(const char *n, void *data) {
    Fl_JPEG_Image *j = new Fl_JPEG_Image(n, reinterpret_cast<uchar*>(data));
    return j;
}

void free_fl_jpeg_image(JPEG_IMAGE j) {
    delete reinterpret_cast<Fl_JPEG_Image*>(j);
}