summaryrefslogtreecommitdiff
path: root/inline.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2016-09-14 19:57:46 -0600
committerKarl Williamson <khw@cpan.org>2016-09-25 22:24:19 -0600
commit3964c812010ebc56145ccf7cde87b5eb97d0daf0 (patch)
tree6a87ebd7aec8d2383df308839e65d85a1ee2ebe2 /inline.h
parent2717076ad3197147ee82d8e263fa3cf7fc9ca19c (diff)
downloadperl-3964c812010ebc56145ccf7cde87b5eb97d0daf0.tar.gz
Move #define to different header
Instead of having a comment in one header pointing to the #define in the other, remove the indirection and just have the #define itself where it is needed.
Diffstat (limited to 'inline.h')
-rw-r--r--inline.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/inline.h b/inline.h
index 416e162294..388daba081 100644
--- a/inline.h
+++ b/inline.h
@@ -398,7 +398,6 @@ Perl_is_utf8_string(const U8 *s, const STRLEN len)
}
/*
-Implemented as a macro in utf8.h
=for apidoc is_utf8_string_loc
@@ -408,6 +407,13 @@ case of "utf8ness failure") or the location C<s>+C<len> (in the case of
See also C<L</is_utf8_string_loclen>>.
+=cut
+*/
+
+#define is_utf8_string_loc(s, len, ep) is_utf8_string_loclen(s, len, ep, 0)
+
+/*
+
=for apidoc is_utf8_string_loclen
Like C<L</is_utf8_string>> but stores the location of the failure (in the