diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2000-09-30 12:18:00 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2000-09-30 12:18:00 +0000 |
commit | 8e84507e42a00e64817e92106359a5275566dc19 (patch) | |
tree | ff1d6f1a77730ac1007ca44d8ac26884b6aa3bcf /perlapi.c | |
parent | 2f5768b866885bc2ed8e8faa13e51aa5ce9671f0 (diff) | |
download | perl-8e84507e42a00e64817e92106359a5275566dc19.tar.gz |
Re-instate Perl_utf8_to_uv without checking parameter - added in change 7075.
i.e. rename Simon's function to Perl_utf8_to_uv_chk, change all calls to it
to use new name and add Perl_utf8_to_uv() as a wrapper which calls it passing
0 to checking to get the warning.
p4raw-id: //depot/perl@7096
Diffstat (limited to 'perlapi.c')
-rw-r--r-- | perlapi.c | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -3380,9 +3380,16 @@ Perl_bytes_to_utf8(pTHXo_ U8 *s, STRLEN *len) #undef Perl_utf8_to_uv UV -Perl_utf8_to_uv(pTHXo_ U8 *s, I32* retlen, bool checking) +Perl_utf8_to_uv(pTHXo_ U8 *s, I32* retlen) { - return ((CPerlObj*)pPerl)->Perl_utf8_to_uv(s, retlen, checking); + return ((CPerlObj*)pPerl)->Perl_utf8_to_uv(s, retlen); +} + +#undef Perl_utf8_to_uv_chk +UV +Perl_utf8_to_uv_chk(pTHXo_ U8 *s, I32* retlen, bool checking) +{ + return ((CPerlObj*)pPerl)->Perl_utf8_to_uv_chk(s, retlen, checking); } #undef Perl_uv_to_utf8 |