summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-10-30 18:04:17 +0000
committerNicholas Clark <nick@ccl4.org>2005-10-30 18:04:17 +0000
commit038e8d3c44243c2a2ae7cca24ca6b3918f23f942 (patch)
tree3c719af9fd29828ee0dd15686a3125699c15db45 /utf8.h
parent4eef6d8d75c055d9416392015dd5f1e09e69fc3f (diff)
downloadperl-038e8d3c44243c2a2ae7cca24ca6b3918f23f942.tar.gz
Replace uvuni_to_utf8() with a macro that passes the extra 0 argument
to uvuni_to_utf8_flags(). Move the old body to mathoms.c p4raw-id: //depot/perl@25905
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utf8.h b/utf8.h
index 9546fe8486..18cb7b2dbb 100644
--- a/utf8.h
+++ b/utf8.h
@@ -332,6 +332,7 @@ encoded character.
#define IS_UTF8_CHAR_FAST(n) ((n) <= 4)
+#define uvuni_to_utf8(d, uv) uvuni_to_utf8_flags(d, uv, 0)
#define is_utf8_string_loc(s, len, ep) is_utf8_string_loclen(s, len, ep, 0)
#endif /* IS_UTF8_CHAR() for UTF-8 */