Skip to content

Commit ea3c376

Browse files
committed
perlapi: SvUVX needs SvUOK to be true; not SvIOK
I looked at the code, and SvUVX looks at the UV slot; so this is a typo
1 parent 043a9f3 commit ea3c376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ Only use when you are sure C<SvIOK> is true. See also C<L</SvIV>>.
892892
893893
=for apidoc Am|UV|SvUVX|SV* sv
894894
Returns the raw value in the SV's UV slot, without checks or conversions.
895-
Only use when you are sure C<SvIOK> is true. See also C<L</SvUV>>.
895+
Only use when you are sure C<SvUOK> is true. See also C<L</SvUV>>.
896896
897897
=for apidoc AmD|UV|SvUVXx|SV* sv
898898
This is an unnecessary synonym for L</SvUVX>

0 commit comments

Comments
 (0)