diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-03-25 13:09:09 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-09-10 21:02:58 -0600 |
commit | 6f2d5cbcfe6275cad930b63e81bfd159b3964944 (patch) | |
tree | e0394a94a69d8e3922dffab69c5ea80399aef261 /inline.h | |
parent | c11b1469027c6226458c10ea61522ddcdbee226c (diff) | |
download | perl-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |