Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

ExtUtils::Typemaps::Type (3)

Name

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

Synopsis

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

Description

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



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

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

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.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+-----------------------+
       |ATTRIBUTE TYPE |   ATTRIBUTE VALUE     |
       +---------------+-----------------------+
       |Availability   | runtime/perl-532      |
       +---------------+-----------------------+
       |Stability      | Pass-through volatile |
       +---------------+-----------------------+

SEE ALSO
       ExtUtils::Typemaps

AUTHOR
       Steffen Mueller "<smueller@cpan.org">

COPYRIGHT & LICENSE
       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.



NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       http://www.cpan.org/src/5.0/perl-5.32.0.tar.gz.

       Further information about this software can be found on the open source
       community website at https://www.perl.org/.



perl v5.32.0                      2020-06-14
                                                   ExtUtils::Typemaps::Type(3)