logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

ExtUtils::Typemaps::Default - A set of useful typemaps

Author

       Steffen Mueller <smueller@cpan.org>

Description

       "ExtUtils::Typemaps::Default" is an "ExtUtils::Typemaps" subclass that provides a set of default mappings
       (in addition to what perl itself provides). 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::ObjectMap, ExtUtils::Typemaps::STL, ExtUtils::Typemaps::Basic

Methods

       These are the overridden methods:

   new
       Creates a new "ExtUtils::Typemaps::Default" object.

Name

       ExtUtils::Typemaps::Default - A set of useful typemaps

See Also

       ExtUtils::Typemaps, ExtUtils::Typemaps::ObjectMap, ExtUtils::Typemaps::STL, ExtUtils::Typemaps::Basic

Synopsis

         use ExtUtils::Typemaps::Default;
         # First, read my own type maps:
         my $private_map = ExtUtils::Typemaps->new(file => 'my.map');

         # Then, get the default set and merge it into my maps
         my $map = ExtUtils::Typemaps::Default->new;
         $private_map->merge(typemap => $map);

         # Now, write the combined map to an output file
         $private_map->write(file => 'typemap');

See Also