diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-03-28 18:24:02 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-03-28 18:24:02 +0000 |
commit | 7d3b96bbd83d17f17b26b4c05ef623881c8477be (patch) | |
tree | 4bccefb45f6e9329c0e9904ee99fee832b8fc4bc /perlio.c | |
parent | 7847df5a36f8e61e9a1cfaa59d60168ea45d5381 (diff) | |
download | perl-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.c | 24 |
1 files changed, 1 insertions, 23 deletions
@@ -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 |