logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Steffen Mueller <smueller@cpan.org>

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.

Name

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

See Also

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

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');

See Also