Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

ExtUtils::Typemaps::Type - Entry in the TYPEMAP section of a typemap

Author

Steffen Mueller "<smueller@cpan.org">

Description

Refer to ExtUtils::Typemaps for details. Object associates "ctype" with "xstype", which is the index into the in- and output mapping tables.

Methods

new Requires "xstype" and "ctype" parameters. Optionally takes "prototype" parameter. proto Returns or sets the prototype. xstype Returns the name of the XS type that this C type is associated to. ctype Returns the name of the C type as it was set on construction. tidy_ctype Returns the canonicalized name of the C type.

Name

ExtUtils::Typemaps::Type - Entry in the TYPEMAP section of a typemap

See Also

ExtUtils::Typemaps

Synopsis

use ExtUtils::Typemaps; ... my $type = $typemap->get_type_map('char*'); my $input = $typemap->get_input_map($type->xstype);

See Also