]> git.imager.perl.org - imager.git/blob - ext.h
Initial revision
[imager.git] / ext.h
1 #include "image.h"
2
3 /* structures for passing data between Imager-plugin and the Imager-module */
4
5 typedef struct {
6   char *name;
7   void (*iptr)(void* ptr);
8   char *pcode;
9 } func_ptr;
10
11
12 typedef struct {
13   int (*getstr)(void *hv_t,char* key,char **store);
14   int (*getint)(void *hv_t,char *key,int *store);
15   int (*getdouble)(void *hv_t,char* key,double *store);
16   int (*getvoid)(void *hv_t,char* key,void **store);
17   int (*getobj)(void *hv_t,char* key,char* type,void **store);
18 } UTIL_table_t;