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.
$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);
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;