summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteffen Mueller <smueller@cpan.org>2012-02-02 19:36:07 +0100
committerSteffen Mueller <smueller@cpan.org>2012-02-02 19:42:08 +0100
commit82327a2d0a9d885034172c001c41bad8ad2f3a17 (patch)
tree82eb29fa5872b09f794e09243ad4580e9e292d40
parenta7bff800d7e7159cb806b3b8ace5e17314e95ba7 (diff)
downloadperl-82327a2d0a9d885034172c001c41bad8ad2f3a17.tar.gz
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.
-rw-r--r--lib/ExtUtils/typemap7
1 files changed, 0 insertions, 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;