Skip to content

Commit 505e049

Browse files
committed
perlapi: Use correct name for pad_findmy_pvn parameter
1 parent 8bfb759 commit 505e049

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pad.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -965,9 +965,9 @@ enclosed in double quotes.
965965
In plain C<pad_findmy_pv>, the variable name is a C language NUL-terminated
966966
string.
967967
968-
In C<pad_findmy_pvn>, C<len> gives the length of the variable name in bytes,
968+
In C<pad_findmy_pvn>, C<namelen> gives the length of the variable name in bytes,
969969
so it may contain embedded-NUL characters. The caller must make sure C<namepv>
970-
contains at least C<len> bytes.
970+
contains at least C<namelen> bytes.
971971
972972
In C<pad_findmy_sv>, the variable name is taken from the SV parameter using
973973
C<L</SvPVutf8>()>.

0 commit comments

Comments
 (0)