ExtUtils::Typemaps::Type - Entry in the TYPEMAP section of a typemap
use ExtUtils::Typemaps;
...
my $type = $typemap->get_type_map('char*');
my $input = $typemap->get_input_map($type->xstype); Refer to ExtUtils::Typemaps for details. Object associates ctype with xstype, which is the index into the in- and output mapping tables.
Requires xstype and ctype parameters.
Optionally takes prototype parameter. Note however that the method to get/set the value is called proto rather than <prototype>.
Returns or sets the prototype.
Returns the name of the XS type that this C type is associated to.
Returns the name of the C type as it was set on construction.
Returns the canonicalized name of the C type.
Steffen Mueller <[email protected]>
Copyright 2009, 2010, 2011, 2012 Steffen Mueller
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
© 1993–2025 Larry Wall and others
Licensed under the GNU General Public License version 1 or later, or the Artistic License.
The Perl logo is a trademark of the Perl Foundation.
https://perldoc.perl.org/5.42.0/ExtUtils::Typemaps::Type