summaryrefslogtreecommitdiff
path: root/inline.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-03-25 13:09:09 -0600
committerKarl Williamson <public@khwilliamson.com>2013-09-10 21:02:58 -0600
commit6f2d5cbcfe6275cad930b63e81bfd159b3964944 (patch)
treee0394a94a69d8e3922dffab69c5ea80399aef261 /inline.h
parentc11b1469027c6226458c10ea61522ddcdbee226c (diff)
downloadperl-6f2d5cbcfe6275cad930b63e81bfd159b3964944.tar.gz
Use separate macros for byte vs uv Unicode
This removes a macro not yet even in a development release, and splits its calls into two classes: those where the input is a byte; and those where it can be any unsigned integer. The byte implementation avoids a function call on EBCDIC platforms.
Diffstat (limited to 'inline.h')
-rw-r--r--inline.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/inline.h b/inline.h
index a2727f41a1..226970bd88 100644
--- a/inline.h
+++ b/inline.h
@@ -258,7 +258,7 @@ S_append_utf8_from_native_byte(const U8 byte, U8** dest)
PERL_ARGS_ASSERT_APPEND_UTF8_FROM_NATIVE_BYTE;
- if (NATIVE_IS_INVARIANT(byte))
+ if (NATIVE_BYTE_IS_INVARIANT(byte))
*(*dest)++ = byte;
else {
*(*dest)++ = UTF8_EIGHT_BIT_HI(byte);