[rt #71641] provide a STRLEN typemap entry for older perls
authorTony Cook <tony@develop-help.com>
Fri, 14 Oct 2011 08:22:33 +0000 (19:22 +1100)
committerTony Cook <tony@develop-help.com>
Fri, 14 Oct 2011 08:22:33 +0000 (19:22 +1100)
Changes
typemap

diff --git a/Changes b/Changes
index dccffa3..25ef9dd 100644 (file)
--- a/Changes
+++ b/Changes
@@ -21,6 +21,9 @@ Bug fixes:
    string.
    https://rt.cpan.org/Ticket/Display.html?id=71653
 
+ - provide our own STRLEN typemap entry for older perls.
+   https://rt.cpan.org/Ticket/Display.html?id=71641
+
 Imager 0.85_01 - 10 Oct 2011
 ==============
 
diff --git a/typemap b/typemap
index 12b37be..91e2096 100644 (file)
--- a/typemap
+++ b/typemap
@@ -27,6 +27,9 @@ Imager                  T_IMAGER_FULL_IMAGE
 
 off_t                  T_OFF_T
 
+# STRLEN isn't in the default typemap in older perls
+STRLEN                 T_UV
+
 #############################################################################
 INPUT
 T_PTR_NULL