diff options
author | Karl Williamson <khw@cpan.org> | 2016-02-03 12:03:09 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2016-02-03 12:09:44 -0700 |
commit | 0c395ea59771c4804bc38e8960b217d58fcf1043 (patch) | |
tree | f68c5cf5ecee87303d3ace0f1920cb931393d75d /cop.h | |
parent | 3a8ba71a30e1f40479d502ed94d67389d4058177 (diff) | |
download | perl-0c395ea59771c4804bc38e8960b217d58fcf1043.tar.gz |
perlapi: Clarify that a literal string must end in a NUL
Some entries already had this. For those, it standardizes the text.
Diffstat (limited to 'cop.h')
-rw-r--r-- | cop.h | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -175,8 +175,8 @@ associated with the key. /* =for apidoc Amx|SV *|cophh_fetch_pvs|const COPHH *cophh|const char *key|U32 flags -Like L</cophh_fetch_pvn>, but takes a literal string instead of a -string/length pair, and no precomputed hash. +Like L</cophh_fetch_pvn>, but takes a C<NUL>-terminated literal string instead +of a string/length pair, and no precomputed hash. =cut */ @@ -281,8 +281,8 @@ be stored with referential integrity, but will be coerced to strings. /* =for apidoc Amx|COPHH *|cophh_store_pvs|const COPHH *cophh|const char *key|SV *value|U32 flags -Like L</cophh_store_pvn>, but takes a literal string instead of a -string/length pair, and no precomputed hash. +Like L</cophh_store_pvn>, but takes a C<NUL>-terminated literal string instead +of a string/length pair, and no precomputed hash. =cut */ @@ -338,8 +338,8 @@ hash of the key string, or zero if it has not been precomputed. /* =for apidoc Amx|COPHH *|cophh_delete_pvs|const COPHH *cophh|const char *key|U32 flags -Like L</cophh_delete_pvn>, but takes a literal string instead of a -string/length pair, and no precomputed hash. +Like L</cophh_delete_pvn>, but takes a C<NUL>-terminated literal string instead +of a string/length pair, and no precomputed hash. =cut */ @@ -478,8 +478,8 @@ associated with the key. /* =for apidoc Am|SV *|cop_hints_fetch_pvs|const COP *cop|const char *key|U32 flags -Like L</cop_hints_fetch_pvn>, but takes a literal string instead of a -string/length pair, and no precomputed hash. +Like L</cop_hints_fetch_pvn>, but takes a C<NUL>-terminated literal string +instead of a string/length pair, and no precomputed hash. =cut */ |