summaryrefslogtreecommitdiff
path: root/mathoms.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-10-30 17:49:27 +0000
committerNicholas Clark <nick@ccl4.org>2005-10-30 17:49:27 +0000
commit814fafa7eb0f558ee6baaa3044451757580d60bf (patch)
tree1b4dd41fa6f3088871efda4841fd681eeb36933e /mathoms.c
parente3e4599ff44c1df42108810b2a899156903b540a (diff)
downloadperl-814fafa7eb0f558ee6baaa3044451757580d60bf.tar.gz
Replace is_utf8_string_loc() with a macro that passes the extra 0
argument to is_utf8_string_loc(). Correct the description of its parameters in its POD. p4raw-id: //depot/perl@25903
Diffstat (limited to 'mathoms.c')
-rw-r--r--mathoms.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mathoms.c b/mathoms.c
index 08b90d8302..307915ccdb 100644
--- a/mathoms.c
+++ b/mathoms.c
@@ -782,6 +782,12 @@ PP(pp_mapstart)
DIE(aTHX_ "panic: mapstart"); /* uses grepstart */
}
+bool
+Perl_is_utf8_string_loc(pTHX_ const U8 *s, STRLEN len, const U8 **ep)
+{
+ return is_utf8_string_loclen(s, len, ep, 0);
+}
+
/*
* Local variables:
* c-indentation-style: bsd