summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-10-31 02:04:22 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-10-31 02:04:22 +0000
commit5d170f3a2f1aec382dd58400cc2a2fe1d00859b9 (patch)
treea30f3c6a83845afc14619ab6316c0560dc613ee5 /proto.h
parent9f4817dbf9f375fea5253c12557f39e3774b891c (diff)
downloadperl-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index 7d9bc021f8..fb69eff188 100644
--- a/proto.h
+++ b/proto.h
@@ -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);