Debian Codegraph @

typemap

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 TYPEMAP
2 Authen_SASL_XS T_PTROBJ_SPECIAL
3 const char * T_PV
4
5 INPUT
6 T_PTROBJ_SPECIAL
7 if (sv_derived_from($arg, \"${(my $ntt=$ntype)=~s/_/::/g; \$ntt}\")) {
8 IV tmp = SvIV((SV*)SvRV($arg));
9 $var = ($type) tmp;
10 }
11 else
12 croak(\"$var is not of type ${(my $ntt=$ntype)=~s /_/::/g;\$ntt}\")
13
14 OUTPUT
15 T_PTROBJ_SPECIAL
16 sv_setref_pv($arg, \"${(my $ntt=$ntype)=~s/_/::/g;\$ntt}\",
17 (void*)$var);