ExtUtils::Typemaps::Type(3pm)

ExtUtils::Typemaps::Type3pm

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.

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

2 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7
  2. 8

Author

Steffen Mueller "<[email protected]">

From libextutils-parsexs-perl 3.240000-1 in Debian 8 (Jessie). Parsed by carta from the page's man source.