2 ### Class MacroMOS: Implements MorphOS-only features for macro files ##########
11 my $class = ref($proto) || $proto;
12 my $self = $class->SUPER::new( @_ );
13 bless ($self, $class);
15 $self->{macros_h} = "ppcinline/macros.h";
23 my $prototype = $params{'prototype'};
24 my $sfd = $self->{SFD};
27 if ($$prototype{'type'} eq 'function') {
29 if (!$prototype->{nb}) {
30 print ",\\\n , (___base)";
33 if ($self->{FUNCARGTYPE} ne '') {
34 my $fa = $self->{FUNCARGTYPE};
36 $fa =~ s/\(\*\)/(*__fpt)/;
41 print ", IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)\n";
44 $self->SUPER::function_end (@_);