summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-11-19 16:50:33 -0700
committerKarl Williamson <public@khwilliamson.com>2012-01-13 09:58:33 -0700
commitb0e3252edb68bc2dd1e28347ff032f53358df3ce (patch)
treec61f9d3de3ab5eafae2f2bfb36072b24255949a4 /proto.h
parent20b1a8918cf079bce8353cc51059b0ff48ed4ad6 (diff)
downloadperl-b0e3252edb68bc2dd1e28347ff032f53358df3ce.tar.gz
utf8.c: Change name of static function
This function has always confused me, as it doesn't return a swash, but a swatch.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto.h b/proto.h
index 7d9e229bc4..a6a1a44526 100644
--- a/proto.h
+++ b/proto.h
@@ -7079,10 +7079,10 @@ STATIC bool S_is_utf8_common(pTHX_ const U8 *const p, SV **swash, const char * c
#define PERL_ARGS_ASSERT_IS_UTF8_COMMON \
assert(p); assert(swash); assert(swashname)
-STATIC SV* S_swash_get(pTHX_ SV* swash, UV start, UV span)
+STATIC SV* S_swatch_get(pTHX_ SV* swash, UV start, UV span)
__attribute__warn_unused_result__
__attribute__nonnull__(pTHX_1);
-#define PERL_ARGS_ASSERT_SWASH_GET \
+#define PERL_ARGS_ASSERT_SWATCH_GET \
assert(swash)
STATIC U8 S_to_lower_latin1(pTHX_ const U8 c, U8 *p, STRLEN *lenp)