diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-10-30 18:04:17 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-10-30 18:04:17 +0000 |
commit | 038e8d3c44243c2a2ae7cca24ca6b3918f23f942 (patch) | |
tree | 3c719af9fd29828ee0dd15686a3125699c15db45 /mathoms.c | |
parent | 4eef6d8d75c055d9416392015dd5f1e09e69fc3f (diff) | |
download | perl-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 'mathoms.c')
-rw-r--r-- | mathoms.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -782,6 +782,12 @@ PP(pp_mapstart) DIE(aTHX_ "panic: mapstart"); /* uses grepstart */ } +U8 * +Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv) +{ + return Perl_uvuni_to_utf8_flags(aTHX_ d, uv, 0); +} + bool Perl_is_utf8_string_loc(pTHX_ const U8 *s, STRLEN len, const U8 **ep) { |