]> git.imager.perl.org - imager.git/commitdiff
[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 dccffa3ca38c522e325ab2f17f561c29db4e655f..25ef9dd868f245edb8061974965dfb5ed6edd080 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 12b37be530fa7049353b3eea99b26681c576b869..91e209609eede65cdc3be1f9613d4c1005f0a169 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