Debian Codegraph @

typemap

raw
1 perl_uuid_t* T_PV
2 uuid_context_t* T_PTRUUID
3
4 INPUT
5 T_PTRUUID
6 if (SvROK($arg) && sv_derived_from($arg, \"Data::UUID\")) {
7 IV tmp = SvIV((SV*)SvRV($arg));
8 $var = INT2PTR($type,tmp);
9 }
10 else
11 croak(\"$var is not of type Data::UUID\")
12 OUTPUT
13 T_PTRUUID
14 sv_setref_pv($arg, \"Data::UUID\", (void*)$var);