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