summaryrefslogtreecommitdiff
path: root/universal.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-10-06 00:02:36 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-10-06 13:01:11 -0700
commit7d892b8ce4bb8f4d2c7f5b5ea38d53ab12dbdb01 (patch)
tree4067b91382f2b46753a993403df0db230b1aa21b /universal.c
parentd20c2c292901b2f1b65347fa9a1f361bb13de59b (diff)
downloadperl-7d892b8ce4bb8f4d2c7f5b5ea38d53ab12dbdb01.tar.gz
Document sv_does_pvn
Diffstat (limited to 'universal.c')
-rw-r--r--universal.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/universal.c b/universal.c
index 855942ec8b..2af2c2b9e2 100644
--- a/universal.c
+++ b/universal.c
@@ -252,8 +252,7 @@ Perl_sv_does(pTHX_ SV *sv, const char *const name)
/*
=for apidoc sv_does_pv
-Like L</sv_does_pvn>, but takes a nul-terminated string
-instead of a string/length pair.
+Like L</sv_does_sv>, but takes a nul-terminated string instead of an SV.
=cut
*/
@@ -266,6 +265,14 @@ Perl_sv_does_pv(pTHX_ SV *sv, const char *const name, U32 flags)
return sv_does_sv(sv, newSVpvn_flags(name, strlen(name), SVs_TEMP | flags), flags);
}
+/*
+=for apidoc sv_does_pvn
+
+Like L</sv_does_sv>, but takes a string/length pair instead of an SV.
+
+=cut
+*/
+
bool
Perl_sv_does_pvn(pTHX_ SV *sv, const char *const name, const STRLEN len, U32 flags)
{