diff options
author | Karl Williamson <khw@cpan.org> | 2017-05-11 21:31:58 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2017-07-01 17:01:36 -0600 |
commit | c179379da8b0c4d6a4fc09871f72ff3640bb45b3 (patch) | |
tree | 6620664e22bd8d1031b15f63c54a7e41457dd14b /utf8.h | |
parent | fecaf13651f384b7117457536b4d71ed907cb937 (diff) | |
download | perl-c179379da8b0c4d6a4fc09871f72ff3640bb45b3.tar.gz |
utf8.c: Move some #defines here, the only file that uses them
These are very specialized #defines to determine if UTF-8 overflows the
word size of the platform. I think its unwise to make them kinda
generally available.
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -235,13 +235,6 @@ are in the character. */ -/* Anything larger than this will overflow the word if it were converted into a UV */ -#if defined(UV_IS_QUAD) -# define HIGHEST_REPRESENTABLE_UTF8 "\xFF\x80\x8F\xBF\xBF\xBF\xBF\xBF\xBF\xBF\xBF\xBF\xBF" -#else -# define HIGHEST_REPRESENTABLE_UTF8 "\xFE\x83\xBF\xBF\xBF\xBF\xBF" -#endif - /* Is the representation of the Unicode code point 'cp' the same regardless of * being encoded in UTF-8 or not? */ #define OFFUNI_IS_INVARIANT(cp) isASCII(cp) |