1ExtUtils::Typemaps::DefUasuelrt(C3o)ntributed Perl DocumEexnttUattiilosn::Typemaps::Default(3)
2
3
4
6 ExtUtils::Typemaps::Default - A set of useful typemaps
7
9 use ExtUtils::Typemaps::Default;
10 # First, read my own type maps:
11 my $private_map = ExtUtils::Typemaps->new(file => 'my.map');
12
13 # Then, get the default set and merge it into my maps
14 my $map = ExtUtils::Typemaps::Default->new;
15 $private_map->merge(typemap => $map);
16
17 # Now, write the combined map to an output file
18 $private_map->write(file => 'typemap');
19
21 "ExtUtils::Typemaps::Default" is an "ExtUtils::Typemaps" subclass that
22 provides a set of default mappings (in addition to what perl itself
23 provides). These default mappings are currently defined as the
24 combination of the mappings provided by the following typemap classes
25 which are provided in this distribution:
26
27 ExtUtils::Typemaps::ObjectMap, ExtUtils::Typemaps::STL,
28 ExtUtils::Typemaps::Basic
29
31 These are the overridden methods:
32
33 new
34 Creates a new "ExtUtils::Typemaps::Default" object.
35
37 ExtUtils::Typemaps, ExtUtils::Typemaps::ObjectMap,
38 ExtUtils::Typemaps::STL, ExtUtils::Typemaps::Basic
39
41 Steffen Mueller <smueller@cpan.org>
42
44 Copyright 2010, 2011, 2012, 2013 by Steffen Mueller
45
46 This program is free software; you can redistribute it and/or modify it
47 under the same terms as Perl itself.
48
49
50
51perl v5.34.0 2022-01-21 ExtUtils::Typemaps::Default(3)