From: Tony Cook <tony@develop-help.com>
Date: Fri, 14 Oct 2011 08:22:33 +0000 (+1100)
Subject: [rt #71641] provide a STRLEN typemap entry for older perls
X-Git-Tag: v0.85_02~20
X-Git-Url: http://git.imager.perl.org/imager.git/commitdiff_plain/cb4d223c78c2b8e22a52af55cc5aa3b119c139af

[rt #71641] provide a STRLEN typemap entry for older perls
---

diff --git a/Changes b/Changes
index dccffa3c..25ef9dd8 100644
--- 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 12b37be5..91e20960 100644
--- 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