summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2001-03-28 18:24:02 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-03-28 18:24:02 +0000
commit7d3b96bbd83d17f17b26b4c05ef623881c8477be (patch)
tree4bccefb45f6e9329c0e9904ee99fee832b8fc4bc /perlio.c
parent7847df5a36f8e61e9a1cfaa59d60168ea45d5381 (diff)
downloadperl-7d3b96bbd83d17f17b26b4c05ef623881c8477be.tar.gz
PerlIO.pm / perlio.pm conflict.
Update some pods. Make t/op/utf8decode.t a text file. p4raw-id: //depot/perlio@9417
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c24
1 files changed, 1 insertions, 23 deletions
diff --git a/perlio.c b/perlio.c
index 194c14fb35..6c4a3981b8 100644
--- a/perlio.c
+++ b/perlio.c
@@ -365,26 +365,6 @@ PerlIO_pop(pTHX_ PerlIO *f)
/*--------------------------------------------------------------------------------------*/
/* XS Interface for perl code */
-XS(XS_perlio_import)
-{
- dXSARGS;
- GV *gv = CvGV(cv);
- char *s = GvNAME(gv);
- STRLEN l = GvNAMELEN(gv);
- PerlIO_debug("%.*s\n",(int) l,s);
- XSRETURN_EMPTY;
-}
-
-XS(XS_perlio_unimport)
-{
- dXSARGS;
- GV *gv = CvGV(cv);
- char *s = GvNAME(gv);
- STRLEN l = GvNAMELEN(gv);
- PerlIO_debug("%.*s\n",(int) l,s);
- XSRETURN_EMPTY;
-}
-
SV *
PerlIO_find_layer(pTHX_ const char *name, STRLEN len)
{
@@ -499,7 +479,7 @@ XS(XS_io_MODIFY_SCALAR_ATTRIBUTES)
SV *
PerlIO_tab_sv(pTHX_ PerlIO_funcs *tab)
{
- HV *stash = gv_stashpv("perlio::Layer", TRUE);
+ HV *stash = gv_stashpv("PerlIO::Layer", TRUE);
SV *sv = sv_bless(newRV_noinc(newSViv(PTR2IV(tab))),stash);
return sv;
}
@@ -648,8 +628,6 @@ PerlIO_default_layers(pTHX)
{
const char *s = (PL_tainting) ? Nullch : PerlEnv_getenv("PERLIO");
PerlIO_layer_av = get_av("open::layers",GV_ADD|GV_ADDMULTI);
- newXS("perlio::import",XS_perlio_import,__FILE__);
- newXS("perlio::unimport",XS_perlio_unimport,__FILE__);
#if 0
newXS("io::MODIFY_SCALAR_ATTRIBUTES",XS_io_MODIFY_SCALAR_ATTRIBUTES,__FILE__);
#endif