1ExtUtils::Typemaps::TypUes(e3r)Contributed Perl DocumentEaxttiUotnils::Typemaps::Type(3)
2
3
4
6 ExtUtils::Typemaps::Type - Entry in the TYPEMAP section of a typemap
7
9 use ExtUtils::Typemaps;
10 ...
11 my $type = $typemap->get_type_map('char*');
12 my $input = $typemap->get_input_map($type->xstype);
13
15 Refer to ExtUtils::Typemaps for details. Object associates "ctype"
16 with "xstype", which is the index into the in- and output mapping
17 tables.
18
20 new
21 Requires "xstype" and "ctype" parameters.
22
23 Optionally takes "prototype" parameter.
24
25 proto
26 Returns or sets the prototype.
27
28 xstype
29 Returns the name of the XS type that this C type is associated to.
30
31 ctype
32 Returns the name of the C type as it was set on construction.
33
34 tidy_ctype
35 Returns the canonicalized name of the C type.
36
38 ExtUtils::Typemaps
39
41 Steffen Mueller "<smueller@cpan.org">
42
44 Copyright 2009, 2010, 2011, 2012 Steffen Mueller
45
46 This program is free software; you can redistribute it and/or modify it
47 under the same terms as Perl itself.
48
49
50
51perl v5.32.1 2021-01-27 ExtUtils::Typemaps::Type(3)