Debian Codegraph @

dist/ExtUtils-ParseXS/t/lib/TypemapTest/Foo.pm

raw
1 package # hide from indexers
2 TypemapTest::Foo;
3 use strict;
4 use warnings;
5 require ExtUtils::Typemaps;
6 our @ISA = qw(ExtUtils::Typemaps);
7
8 sub new {
9 my $class = shift;
10 my $obj = $class->SUPER::new(@_);
11 $obj->add_typemap(ctype => 'myfoo*', xstype => 'T_PV');
12 return $obj;
13 }
14
15 1;