This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6085326
)
parts/apicheck.pl: Add special parameter name 'block'
author
Karl Williamson
<khw@cpan.org>
Tue, 6 Aug 2019 21:47:10 +0000
(15:47 -0600)
committer
Nicolas R
<atoomic@cpan.org>
Fri, 27 Sep 2019 22:39:29 +0000
(16:39 -0600)
A new macro has been added to blead that has a parameter that can be a C
block. This can easily be accommodated by the code in this file, if we
know about how to handle it.
(cherry picked from commit
2095204694d4f9df74463fc45d58b441759de865
)
Signed-off-by: Nicolas R <atoomic@cpan.org>
dist/Devel-PPPort/parts/apicheck.pl
patch
|
blob
|
blame
|
history
diff --git
a/dist/Devel-PPPort/parts/apicheck.pl
b/dist/Devel-PPPort/parts/apicheck.pl
index
1ac8eb5
..
1323190
100644
(file)
--- a/
dist/Devel-PPPort/parts/apicheck.pl
+++ b/
dist/Devel-PPPort/parts/apicheck.pl
@@
-49,6
+49,7
@@
my %amap = (
SP => 'SP',
type => 'int',
cast => 'int',
+ block => '{1;}',
);
# Certain return types are instead considered void