line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package ExtUtils::XSpp::Typemap::simple; |
2
|
|
|
|
|
|
|
|
3
|
21
|
|
|
21
|
|
112
|
use base 'ExtUtils::XSpp::Typemap'; |
|
21
|
|
|
|
|
36
|
|
|
21
|
|
|
|
|
870
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
sub init { |
6
|
2876
|
|
|
2876
|
0
|
3289
|
my $this = shift; |
7
|
2876
|
|
|
|
|
5433
|
my %args = @_; |
8
|
|
|
|
|
|
|
|
9
|
2876
|
50
|
|
|
|
6253
|
if( my $base = $args{base} ) { |
10
|
0
|
|
|
|
|
0
|
%args = ( xs_type => $base->{XS_TYPE}, |
11
|
|
|
|
|
|
|
xs_input_code => $base->{XS_INPUT_CODE}, |
12
|
|
|
|
|
|
|
xs_output_code => $base->{XS_OUTPUT_CODE}, |
13
|
|
|
|
|
|
|
%args ); |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
2876
|
|
|
|
|
5718
|
$this->{TYPE} = $args{type}; |
17
|
2876
|
|
|
|
|
4360
|
$this->{NAME} = $args{name}; |
18
|
2876
|
|
|
|
|
4284
|
$this->{XS_TYPE} = $args{xs_type}; |
19
|
2876
|
|
|
|
|
3942
|
$this->{XS_INPUT_CODE} = $args{xs_input_code}; |
20
|
2876
|
|
|
|
|
8738
|
$this->{XS_OUTPUT_CODE} = $args{xs_output_code}; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
227
|
|
|
227
|
1
|
959
|
sub cpp_type { $_[0]->{TYPE}->print } |
24
|
69
|
|
|
69
|
1
|
313
|
sub output_code { undef } # likewise |
25
|
106
|
|
|
106
|
1
|
237
|
sub call_parameter_code { undef } |
26
|
60
|
|
|
60
|
1
|
325
|
sub call_function_code { undef } |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |