diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-10-31 02:04:22 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-10-31 02:04:22 +0000 |
commit | 5d170f3a2f1aec382dd58400cc2a2fe1d00859b9 (patch) | |
tree | a30f3c6a83845afc14619ab6316c0560dc613ee5 /proto.h | |
parent | 9f4817dbf9f375fea5253c12557f39e3774b891c (diff) | |
download | perl-5d170f3a2f1aec382dd58400cc2a2fe1d00859b9.tar.gz |
Make sv_recode_to_utf8() a real API: the encoding
is a parameter, instead of a global. Document the
PERL_ENCODING.
p4raw-id: //depot/perl@12783
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -760,7 +760,7 @@ PERL_CALLCONV void Perl_sv_pos_b2u(pTHX_ SV* sv, I32* offsetp); /* PERL_CALLCONV char* sv_pvn_force(pTHX_ SV* sv, STRLEN* lp); */ PERL_CALLCONV char* Perl_sv_pvutf8n_force(pTHX_ SV* sv, STRLEN* lp); PERL_CALLCONV char* Perl_sv_pvbyten_force(pTHX_ SV* sv, STRLEN* lp); -PERL_CALLCONV void Perl_sv_recode_to_utf8(pTHX_ SV*); +PERL_CALLCONV void Perl_sv_recode_to_utf8(pTHX_ SV* sv, SV *encoding); PERL_CALLCONV char* Perl_sv_reftype(pTHX_ SV* sv, int ob); PERL_CALLCONV void Perl_sv_replace(pTHX_ SV* sv, SV* nsv); PERL_CALLCONV void Perl_sv_report_used(pTHX); |