/* script-lib-image.h - scripting system ply-image wrapper * * Copyright (C) 2009 Charlie Brej * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * 02111-1307, USA. * * Written by: Charlie Brej */ #ifndef SCRIPT_LIB_IMAGE_H #define SCRIPT_LIB_IMAGE_H #include "script.h" typedef struct { script_obj_native_class_t *class; script_op_t *script_main_op; char *image_dir; } script_lib_image_data_t; script_lib_image_data_t *script_lib_image_setup (script_state_t *state, char *image_dir); void script_lib_image_destroy (script_lib_image_data_t *data); #endif /* SCRIPT_LIB_IMAGE_H */