Debian Codegraph @

inc/bundle/version/typemap

raw
1 ###############################################################################
2 ## ##
3 ## Typemap for module "Universal::Version" ##
4 ## ##
5 ## Copyright (c) 2001 by John Peacock. ##
6 ## All rights reserved. ##
7 ## ##
8 ## This package is free software; you can redistribute it ##
9 ## and/or modify it under the same terms as Perl itself. ##
10 ## ##
11 ###############################################################################
12
13 TYPEMAP
14
15 N_int T_IV
16 N_long T_IV
17 Z_int T_IV
18 Z_long T_IV
19 boolean T_IV
20 version_vxs T_PTROBJ_SPECIAL
21
22 INPUT
23
24 T_PTROBJ_SPECIAL
25 if (ISA_CLASS_OBJ($arg, \"version\")) {
26 $var = SvRV($arg);
27 }
28 else
29 Perl_croak(aTHX_ \"$var is not of type ${(my $ntt=$ntype)=~s/_/::/g;\$ntt}\")