summaryrefslogtreecommitdiff
path: root/embed.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 /embed.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 'embed.h')
-rw-r--r--embed.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.h b/embed.h
index 71fb041770..44ce7a6a4b 100644
--- a/embed.h
+++ b/embed.h
@@ -2202,7 +2202,7 @@
#define sv_pos_b2u(a,b) Perl_sv_pos_b2u(aTHX_ a,b)
#define sv_pvutf8n_force(a,b) Perl_sv_pvutf8n_force(aTHX_ a,b)
#define sv_pvbyten_force(a,b) Perl_sv_pvbyten_force(aTHX_ a,b)
-#define sv_recode_to_utf8(a) Perl_sv_recode_to_utf8(aTHX_ a)
+#define sv_recode_to_utf8(a,b) Perl_sv_recode_to_utf8(aTHX_ a,b)
#define sv_reftype(a,b) Perl_sv_reftype(aTHX_ a,b)
#define sv_replace(a,b) Perl_sv_replace(aTHX_ a,b)
#define sv_report_used() Perl_sv_report_used(aTHX)