diff options
Diffstat (limited to 'src/c_fl_gif_image.cpp')
-rw-r--r-- | src/c_fl_gif_image.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/c_fl_gif_image.cpp b/src/c_fl_gif_image.cpp new file mode 100644 index 0000000..ad923bd --- /dev/null +++ b/src/c_fl_gif_image.cpp @@ -0,0 +1,17 @@ + + +#include <FL/Fl_GIF_Image.H> +#include "c_fl_gif_image.h" + + + + +GIF_IMAGE new_fl_gif_image(const char * f) { + Fl_GIF_Image *j = new Fl_GIF_Image(f); + return j; +} + +void free_fl_gif_image(GIF_IMAGE j) { + delete reinterpret_cast<Fl_GIF_Image*>(j); +} + |