]> git.imager.perl.org - imager.git/blobdiff - imexttypes.h
switch to Test::More in a few more test scripts, eliminate the
[imager.git] / imexttypes.h
index a7ff20c655da4c4719c9341efb605349debf589e..459fb039b7e9c1b44df6c709fd2aa46f4e3e0357 100644 (file)
@@ -18,7 +18,7 @@
  will result in an increment of IMAGER_API_LEVEL.
 */
 
-#define IMAGER_API_LEVEL 1
+#define IMAGER_API_LEVEL 2
 
 typedef struct {
   int version;
@@ -135,7 +135,14 @@ typedef struct {
   i_img *(*f_i_copy)(i_img *im);
   int (*f_i_rubthru)(i_img *im, i_img *src, int tx, int ty, int src_minx, int src_miny, int src_maxx, int src_maxy);
 
-  /* IMAGER_API_LEVEL 2 functions will be added here */
+  /* IMAGER_API_LEVEL 2 functions */
+  int (*f_i_set_image_file_limits)(int width, int height, int bytes);
+  int (*f_i_get_image_file_limits)(int *width, int *height, int *bytes);
+  int (*f_i_int_check_image_file_limits)(int width, int height, int channels, int sample_size);
+  int (*f_i_flood_fill_border)(i_img *im, int seedx, int seedy, const i_color *dcol, const i_color *border);
+  int (*f_i_flood_cfill_border)(i_img *im, int seedx, int seedy, i_fill_t *fill, const i_color *border);
+
+  /* IMAGER_API_LEVEL 3 functions will be added here */
 } im_ext_funcs;
 
 #define PERL_FUNCTION_TABLE_NAME "Imager::__ext_func_table"