ExtUtils::Typemaps::STL - A set of useful typemaps for STL
use ExtUtils::Typemaps::STL; # First, read my own type maps: my $private_map = ExtUtils::Typemaps->new(file => 'my.map'); # Then, get the STL set and merge it into my maps my $map = ExtUtils::Typemaps::STL->new; $private_map->merge(typemap => $map); # Now, write the combined map to an output file $private_map->write(file => 'typemap');
ExtUtils::Typemaps::STL is an ExtUtils::Typemaps subclass that provides a few of default mappings for Standard Template Library types. These default mappings are currently defined as the combination of the mappings provided by the following typemap classes which are provided in this distribution:
ExtUtils::Typemaps::STL
ExtUtils::Typemaps
ExtUtils::Typemaps::STL::Vector, ExtUtils::Typemaps::STL::String, ExtUtils::Typemaps::STL::List
More are to come, patches are welcome.
These are the overridden methods:
Creates a new ExtUtils::Typemaps::STL object.
ExtUtils::Typemaps, ExtUtils::Typemaps::Default
ExtUtils::Typemaps::STL::String, ExtUtils::Typemaps::STL::Vector ExtUtils::Typemaps::STL::List
Steffen Mueller <smueller@cpan.org>
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.
To install ExtUtils::Typemaps::Default, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ExtUtils::Typemaps::Default
CPAN shell
perl -MCPAN -e shell install ExtUtils::Typemaps::Default
For more information on module installation, please visit the detailed CPAN module installation guide.