ExtUtils::Typemap::STL - A set of useful typemaps for STL
use ExtUtils::Typemap::STL; # First, read my own type maps: my $private_map = ExtUtils::Typemap->new(file => 'my.map'); # Then, get the STL set and merge it into my maps my $map = ExtUtils::Typemap::STL->new; $private_map->merge(typemap => $map); # Now, write the combined map to an output file $private_map->write(file => 'typemap');
ExtUtils::Typemap::STL
is an ExtUtils::Typemap
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::Typemap::STL::Vector, ExtUtils::Typemap::STL::String
More are to come, patches are welcome.
These are the overridden methods:
Creates a new ExtUtils::Typemap::STL
object.
ExtUtils::Typemap, ExtUtils::Typemap::Default
ExtUtils::Typemap::STL::String, ExtUtils::Typemap::STL::Vector
Steffen Mueller <smueller@cpan.org>
Copyright 2010 by Steffen Mueller
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.