This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlapi: Fix signature for PadnameOURSTASH
authorKarl Williamson <khw@cpan.org>
Sat, 17 Oct 2020 15:22:23 +0000 (09:22 -0600)
committerKarl Williamson <khw@cpan.org>
Mon, 2 Nov 2020 16:36:08 +0000 (09:36 -0700)
This takes a parameter

pad.h

diff --git a/pad.h b/pad.h
index 7ccbdd2..64b7810 100644 (file)
--- a/pad.h
+++ b/pad.h
@@ -237,7 +237,7 @@ Returns the pad name as a mortal SV.
 =for apidoc m|bool|PadnameIsOUR|PADNAME * pn
 Whether this is an "our" variable.
 
-=for apidoc m|HV *|PadnameOURSTASH
+=for apidoc m|HV *|PadnameOURSTASH|PADNAME * pn
 The stash in which this "our" variable was declared.
 
 =for apidoc m|bool|PadnameOUTER|PADNAME * pn