]> git.imager.perl.org - imager.git/blobdiff - imextpl.h
avoid an unneeded check in the FT1 has_chars() method implementation
[imager.git] / imextpl.h
index 0d98f8ef3168f81bafda4ca4c5e8eea8f3ae6578..d007f04426a7bd13e43ab4e6224c0d16ba08d795 100644 (file)
--- a/imextpl.h
+++ b/imextpl.h
@@ -17,7 +17,7 @@ extern im_pl_ext_funcs *imager_perl_function_ext_table;
     imager_perl_function_ext_table = INT2PTR(im_pl_ext_funcs *, SvIV(get_sv(PERL_PL_FUNCTION_TABLE_NAME, 1))); \
     if (!imager_perl_function_ext_table) \
       croak("Imager Perl API function table not found!"); \
-    if (imager_perl_function_ext_table->version != IMAGER_API_VERSION) \
+    if (imager_perl_function_ext_table->version != IMAGER_PL_API_VERSION) \
       croak("Imager Perl API version incorrect"); \
     if (imager_perl_function_ext_table->level < IMAGER_MIN_PL_API_LEVEL) \
       croak("perl API level %d below minimum of %d", imager_perl_function_ext_table->level, IMAGER_MIN_PL_API_LEVEL); \