summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-09-07 11:20:49 -0600
committerKarl Williamson <public@khwilliamson.com>2012-11-19 17:12:59 -0700
commit26483009bbdb96e8d6b8ecd41b2b4e8d1763869d (patch)
tree7578eac24e40263633825de3770cd5feb9ec4d11 /utf8.c
parentc41800a873924d311de8215a0d7f7693454025b4 (diff)
downloadperl-26483009bbdb96e8d6b8ecd41b2b4e8d1763869d.tar.gz
utf8.c: Request function to be inline
This could remove a layer of function call overhead for this small function, (if the compiler doesn't already choose to inline it).
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8.c b/utf8.c
index ed2cfab6cd..76d0331480 100644
--- a/utf8.c
+++ b/utf8.c
@@ -1930,7 +1930,7 @@ Perl_to_uni_lower_lc(pTHX_ U32 c)
return (U32)to_uni_lower(c, tmpbuf, &len);
}
-static bool
+PERL_STATIC_INLINE bool
S_is_utf8_common(pTHX_ const U8 *const p, SV **swash,
const char *const swashname)
{