From 82327a2d0a9d885034172c001c41bad8ad2f3a17 Mon Sep 17 00:00:00 2001 From: Steffen Mueller Date: Thu, 2 Feb 2012 19:36:07 +0100 Subject: Remove dead and obscure typemap entries T_DATAUNIT and T_CALLBACK are nowhere to be found in a CPAN module and are not used in core. Their purpose is entirely unclear and they are trivial. They'll always be available from CPAN from the ExtUtils::Typemaps::Excommunicated module. See perlxstypemap for details on how to use that if you need it. --- lib/ExtUtils/typemap | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/ExtUtils/typemap b/lib/ExtUtils/typemap index 2ce74b1869..607c6c8f58 100644 --- a/lib/ExtUtils/typemap +++ b/lib/ExtUtils/typemap @@ -275,8 +275,6 @@ T_PACKED $var = XS_unpack_$ntype($arg) T_PACKEDARRAY $var = XS_unpack_$ntype($arg) -T_CALLBACK - $var = make_perl_cb_$type($arg) T_ARRAY U32 ix_$var = $argoff; $var = $ntype(items -= $argoff); @@ -377,11 +375,6 @@ T_PACKED XS_pack_$ntype($arg, $var); T_PACKEDARRAY XS_pack_$ntype($arg, $var, count_$ntype); -T_DATAUNIT - sv_setpvn($arg, $var.chp(), $var.size()); -T_CALLBACK - sv_setpvn($arg, $var.context.value().chp(), - $var.context.value().size()); T_ARRAY { U32 ix_$var; -- cgit v1.2.1