Debian Codegraph @

typemap

raw
1 TYPEMAP
2 Authen::Krb5::Ccache T_PTROBJ_NU
3 Authen::Krb5::Principal T_PTROBJ_NU
4 Authen::Krb5::Admin T_PTROBJ_NU
5 Authen::Krb5::Admin::Config T_PTROBJ_NU
6 Authen::Krb5::Admin::Key T_PTROBJ_NU
7 Authen::Krb5::Keyblock T_PTROBJ_NU
8 Authen::Krb5::Admin::Policy T_PTROBJ_NU
9 Authen::Krb5::Admin::Principal T_PTROBJ_NU
10
11 kadm5_ret_t T_LONG
12 krb5_deltat T_INT
13 krb5_flags T_INT
14 krb5_int16 T_INT
15 krb5_kvno T_U_INT
16 krb5_octet * T_PTR
17 krb5_timestamp T_INT
18 krb5_ui_4 T_U_INT
19
20 INPUT
21
22 T_PTROBJ_NU
23 if ($arg == &PL_sv_undef) {
24 $var = 0;
25 } else if (sv_isa($arg, \"${ntype}\")) {
26 IV tmp = SvIV((SV*)SvRV($arg));
27 $var = INT2PTR($type, tmp);
28 } else {
29 croak(\"$var is not of type ${ntype}\");
30 }
31
32 OUTPUT
33
34 T_PTROBJ_NU
35 sv_setref_pv($arg, \"${ntype}\", (void*)$var);