summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-08-25 14:51:11 -0600
committerKarl Williamson <public@khwilliamson.com>2012-08-25 23:21:30 -0600
commit5ab9d2ef14d72dec0d833310911032a980efcf09 (patch)
tree7407c7b452f6d38cf1886b547553516734753dd3 /utf8.c
parent08bc774e50070edc2d51d5c5ad3fb50bf97f2361 (diff)
downloadperl-5ab9d2ef14d72dec0d833310911032a980efcf09.tar.gz
utf8.c: Bypass a subroutine wrapper
We might as well call the core swash initialization, since we are the core here, since the public one merely wraps 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 2eb673ed53..f3e7f59fb0 100644
--- a/utf8.c
+++ b/utf8.c
@@ -2433,7 +2433,7 @@ Perl_to_utf8_case(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp,
uvuni_to_utf8(tmpbuf, uv1);
if (!*swashp) /* load on-demand */
- *swashp = swash_init("utf8", normal, &PL_sv_undef, 4, 0);
+ *swashp = _core_swash_init("utf8", normal, &PL_sv_undef, 4, 0, NULL, NULL);
if (special) {
/* It might be "special" (sometimes, but not always,