summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlperl/lib/Imager/include/imextdef.h
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/tlperl/lib/Imager/include/imextdef.h')
-rwxr-xr-xMaster/tlpkg/tlperl/lib/Imager/include/imextdef.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Master/tlpkg/tlperl/lib/Imager/include/imextdef.h b/Master/tlpkg/tlperl/lib/Imager/include/imextdef.h
new file mode 100755
index 00000000000..d1c5f50b76b
--- /dev/null
+++ b/Master/tlpkg/tlperl/lib/Imager/include/imextdef.h
@@ -0,0 +1,11 @@
+#ifndef IMAGER_IMEXTDEF_H
+#define IMAGER_IMEXTDEF_H
+
+#include "imexttypes.h"
+
+extern im_ext_funcs imager_function_table;
+
+#define PERL_SET_GLOBAL_CALLBACKS \
+ sv_setiv(get_sv(PERL_FUNCTION_TABLE_NAME, 1), PTR2IV(&imager_function_table));
+
+#endif