diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-01-23 11:36:01 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-01-23 11:56:09 -0700 |
commit | a6ceea0637411cc48e4e043c7d222d707dd3611a (patch) | |
tree | e5be336c4005e6db058c3aeaac6d4511d553b178 /sv.h | |
parent | fd09fb46b20a60bca1df0e3f554d1df854923cc7 (diff) | |
download | perl-a6ceea0637411cc48e4e043c7d222d707dd3611a.tar.gz |
perlapi: Fix SvIOK_UV, SvUOK descriptions
Commit b630937b8bf49e835d8976fc1036e68c79585b04 changed the text
of these two macros to how they currently work, but we don't
want to be tied to this behavior in the future.
New wording suggested by Darin McBride
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -655,12 +655,14 @@ Tells an SV that it is an integer and disables all other OK bits. Tells an SV that it is an unsigned integer and disables all other OK bits. =for apidoc Am|bool|SvIOK_UV|SV* sv -Returns a boolean indicating whether the SV contains an unsigned integer -that is too large to store as an IV. +Returns a boolean indicating whether the SV contains an integer that must be +interpreted as unsigned. A non-negative integer whose value is within the +range of both an IV and a UV may be be flagged as either SvUOK or SVIOK. =for apidoc Am|bool|SvUOK|SV* sv -Returns a boolean indicating whether the SV contains an unsigned integer -that is too large to store as an IV. +Returns a boolean indicating whether the SV contains an integer that must be +interpreted as unsigned. A non-negative integer whose value is within the +range of both an IV and a UV may be be flagged as either SvUOK or SVIOK. =for apidoc Am|bool|SvIOK_notUV|SV* sv Returns a boolean indicating whether the SV contains a signed integer. |