From 6f2d5cbcfe6275cad930b63e81bfd159b3964944 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Mon, 25 Mar 2013 13:09:09 -0600 Subject: 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. --- inline.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inline.h') 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); -- cgit v1.2.1