summaryrefslogtreecommitdiff
path: root/cop.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2016-02-03 12:03:09 -0700
committerKarl Williamson <khw@cpan.org>2016-02-03 12:09:44 -0700
commit0c395ea59771c4804bc38e8960b217d58fcf1043 (patch)
treef68c5cf5ecee87303d3ace0f1920cb931393d75d /cop.h
parent3a8ba71a30e1f40479d502ed94d67389d4058177 (diff)
downloadperl-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.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/cop.h b/cop.h
index 06560d17e9..dfb4a0045e 100644
--- a/cop.h
+++ b/cop.h
@@ -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
*/