summaryrefslogtreecommitdiff
path: root/hv.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 /hv.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 'hv.h')
-rw-r--r--hv.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/hv.h b/hv.h
index c249b8f8e2..e30f262f94 100644
--- a/hv.h
+++ b/hv.h
@@ -543,8 +543,8 @@ struct refcounted_he {
/*
=for apidoc m|SV *|refcounted_he_fetch_pvs|const struct refcounted_he *chain|const char *key|U32 flags
-Like L</refcounted_he_fetch_pvn>, but takes a literal string instead of
-a string/length pair, and no precomputed hash.
+Like L</refcounted_he_fetch_pvn>, but takes a C<NUL>-terminated literal string
+instead of a string/length pair, and no precomputed hash.
=cut
*/
@@ -555,8 +555,8 @@ a string/length pair, and no precomputed hash.
/*
=for apidoc m|struct refcounted_he *|refcounted_he_new_pvs|struct refcounted_he *parent|const char *key|SV *value|U32 flags
-Like L</refcounted_he_new_pvn>, but takes a literal string instead of
-a string/length pair, and no precomputed hash.
+Like L</refcounted_he_new_pvn>, but takes a C<NUL>-terminated literal string
+instead of a string/length pair, and no precomputed hash.
=cut
*/