Scroll to navigation

ExtUtils::Typemaps::Basic(3pm) User Contributed Perl Documentation ExtUtils::Typemaps::Basic(3pm)

NAME

ExtUtils::Typemaps::Basic - A set of typemaps for simple types

SYNOPSIS

  use ExtUtils::Typemaps::Basic;
  # First, read my own type maps:
  my $private_map = ExtUtils::Typemaps->new(file => 'my.map');
  
  # Then, get additional typemaps and merge them into mine
  $private_map->merge(typemap => ExtUtils::Typemaps::Basic->new);
  
  # Now, write the combined map to an output file
  $private_map->write(file => 'typemap');

DESCRIPTION

"ExtUtils::Typemaps::Basic" is an "ExtUtils::Typemaps" subclass that provides a set of mappings for some basic integer, unsigned, and floating point types that aren't in perl's builtin typemap.

METHODS

These are the overridden methods:

new

Creates a new "ExtUtils::Typemaps::Basic" object. It acts as any other "ExtUtils::Typemaps" object, except that it has the object maps initialized.

SEE ALSO

ExtUtils::Typemaps, ExtUtils::Typemaps::Default

AUTHOR

Steffen Mueller <smueller@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2010, 2011, 2012, 2013 by Steffen Mueller

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2022-10-21 perl v5.34.0