summaryrefslogtreecommitdiff
path: root/inline.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2016-09-03 12:17:17 -0600
committerKarl Williamson <khw@cpan.org>2016-09-04 20:55:25 -0600
commit56e4cf64af2b3a43a26bdad52bcc8e17c6a05a23 (patch)
treee40ac1754979d45ca63a219d6e3b6b17d9a88fd9 /inline.h
parent3697c6e2db983f1714b7206be5b04ee0784584e1 (diff)
downloadperl-56e4cf64af2b3a43a26bdad52bcc8e17c6a05a23.tar.gz
inline.h: Declare functions to be inline
The branch merged with commit 8d19ebbca9eecf219cc453cffe88722722860dd9 forgot to give this hint to the compiler.
Diffstat (limited to 'inline.h')
-rw-r--r--inline.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/inline.h b/inline.h
index c3acf6784b..8071e6e0b7 100644
--- a/inline.h
+++ b/inline.h
@@ -372,7 +372,7 @@ L</is_utf8_string_loc>().
=cut
*/
-bool
+PERL_STATIC_INLINE bool
Perl_is_utf8_string(const U8 *s, STRLEN len)
{
/* This is now marked pure in embed.fnc, because isUTF8_CHAR now is pure.
@@ -417,7 +417,7 @@ See also L</is_utf8_string_loc>() and L</is_utf8_string>().
=cut
*/
-bool
+PERL_STATIC_INLINE bool
Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el)
{
const U8* const send = s + (len ? len : strlen((const char *)s));
@@ -527,7 +527,7 @@ returned.
=cut
*/
-bool
+PERL_STATIC_INLINE bool
S_is_utf8_valid_partial_char(const U8 * const s, const U8 * const e)
{