ExtUtils::Typemaps::Type(3p) Perl Programmers Reference Guide

ExtUtils::Typemaps::Type(3p) Perl Programmers Reference Guide #

ExtUtils::Typemaps::Type(3p) Perl Programmers Reference Guide

NNAAMMEE #

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

SSYYNNOOPPSSIISS #

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

DDEESSCCRRIIPPTTIIOONN #

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

MMEETTHHOODDSS #

nneeww Requires “xstype” and “ctype” parameters.

 Optionally takes "prototype" parameter.

pprroottoo Returns or sets the prototype.

xxssttyyppee Returns the name of the XS type that this C type is associated to.

ccttyyppee Returns the name of the C type as it was set on construction.

ttiiddyy__ccttyyppee Returns the canonicalized name of the C type.

SSEEEE AALLSSOO #

 ExtUtils::Typemaps

AAUUTTHHOORR #

 Steffen Mueller "<smueller@cpan.org">

CCOOPPYYRRIIGGHHTT && LLIICCEENNSSEE #

 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.

perl v5.36.3 2023-02-15 ExtUtils::Typemaps::Type(3p)