]> git.imager.perl.org - imager.git/blobdiff - dynaload.c
check for the uninitialized gif89 bug in 4.2.0 and probe for the 5.0.1 api
[imager.git] / dynaload.c
index faa605daa68b2cee038fa38a7472d6b40c40a0f0..8838038a959d3b41ad1080a0fb5b3bf12d133fc7 100644 (file)
@@ -11,7 +11,7 @@ typedef HMODULE minthandle_t;
 typedef void *minthandle_t; 
 #endif 
 
-#include "ext.h"
+#include "plug.h"
 
 struct DSO_handle_tag {
   minthandle_t handle;
@@ -24,18 +24,14 @@ struct DSO_handle_tag {
 /* #include "XSUB.h"  so we can compile on threaded perls */
 #include "imageri.h"
 
-static im_context_t
-do_get_context(void) {
-  return im_get_context();
-}
-
 static symbol_table_t symbol_table=
   {
     i_has_format,
     ICL_set_internal,
     ICL_info,
-    do_get_context,
-    im_img_empty_ch,
+    i_img_new,
+    i_img_empty,
+    i_img_empty_ch,
     i_img_exorcise,
     i_img_info,
     i_img_setmask,