| 1 | package ExtUtils::XSpp::Typemap::simple; | ||||||||||
| 2 | |||||||||||
| 3 | 21 | ▶ | use base 'ExtUtils::XSpp::Typemap'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | |||||||||||
| 5 | 2876 | ▶ | sub init { | ||||||||
|
Subroutine
init: called CC=2 SCAR=7.1
Pod
undocumented
| |||||||||||
| 6 | 2876 | my $this = shift; | |||||||||
| 7 | 2876 | my %args = @_; | |||||||||
| 8 | |||||||||||
| 9 | 2876 | ▶ | if( my $base = $args{base} ) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 10 | %args = ( xs_type => $base->{XS_TYPE}, | ||||||||||
| 11 | xs_input_code => $base->{XS_INPUT_CODE}, | ||||||||||
| 12 | xs_output_code => $base->{XS_OUTPUT_CODE}, | ||||||||||
| 13 | 0 | %args ); | |||||||||
| 14 | } | ||||||||||
| 15 | |||||||||||
| 16 | 2876 | $this->{TYPE} = $args{type}; | |||||||||
| 17 | 2876 | $this->{NAME} = $args{name}; | |||||||||
| 18 | 2876 | $this->{XS_TYPE} = $args{xs_type}; | |||||||||
| 19 | 2876 | $this->{XS_INPUT_CODE} = $args{xs_input_code}; | |||||||||
| 20 | 2876 | $this->{XS_OUTPUT_CODE} = $args{xs_output_code}; | |||||||||
| 21 | } | ||||||||||
| 22 | |||||||||||
| 23 | 227 | ▶ | sub cpp_type { $_[0]->{TYPE}->print } | ||||||||
|
Subroutine
cpp_type: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 24 | 69 | ▶ | sub output_code { undef } # likewise | ||||||||
|
Subroutine
output_code: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 25 | 106 | ▶ | sub call_parameter_code { undef } | ||||||||
|
Subroutine
call_parameter_code: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 26 | 60 | ▶ | sub call_function_code { undef } | ||||||||
|
Subroutine
call_function_code: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 27 | |||||||||||
| 28 | 21 | 1; | |||||||||