]> git.imager.perl.org - imager.git/blobdiff - imext.h
ensure we always produce the same Imager::Regops
[imager.git] / imext.h
diff --git a/imext.h b/imext.h
index 131dd1fa655901cd276b7761fca9d3eb569cc162..6e834b25b3cea13de297ded1e37b1b00d644a892 100644 (file)
--- a/imext.h
+++ b/imext.h
@@ -232,6 +232,10 @@ extern im_ext_funcs *imager_function_ext_table;
 #define i_mutex_lock(m) ((im_extt->f_i_mutex_lock)(m))
 #define i_mutex_unlock(m) ((im_extt->f_i_mutex_unlock)(m))
 
+#define im_context_slot_new(destructor) ((im_extt->f_im_context_slot_new)(destructor))
+#define im_context_slot_get(ctx, slot) ((im_extt->f_im_context_slot_get)((ctx), (slot)))
+#define im_context_slot_set(ctx, slot, value) ((im_extt->f_im_context_slot_set)((ctx), (slot), (value)))
+
 #define im_push_errorf (im_extt->f_im_push_errorf)
 
 #ifdef IMAGER_LOG