ExtUtils::Typemaps::Type(3perl)

ExtUtils::Typemaps::Type3perl

Entry in the typemap section of a typemap

Usage

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

Overview

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. Note however that the method to get/set the value is called "proto" rather than <prototype>.

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.

Releases

7 releases since Debian 8 (Jessie); the text changed 6 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13
  7. Arch

Author

Steffen Mueller "<[email protected]">

From perl 5.44.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.