1 #ifndef IMAGER_IMEXTPLTYPES_H_
2 #define IMAGER_IMEXTPLTYPES_H_
4 #ifndef PERL_NO_GET_CONTEXT
5 #error Sorry, you need to build with PERL_NO_GET_CONTEXT
8 #define IMAGER_PL_API_VERSION 1
10 /* This file provides functions useful for external code in
11 interfacing with perl - these functions aren't part of the core
14 #define IMAGER_PL_API_LEVEL 1
20 /* IMAGER_PL_API_LEVEL 1 functions */
21 void (*f_ip_handle_quant_opts)(pTHX_ i_quantize *quant, HV *hv);
22 void (*f_ip_cleanup_quant_opts)(pTHX_ i_quantize *quant);
23 void (*f_ip_copy_colors_back)(pTHX_ HV *hv, i_quantize *quant);
25 /* IMAGER_PL_API_LEVEL 2 functions will go here */
28 #define PERL_PL_FUNCTION_TABLE_NAME "Imager::__ext_pl_func_table"