/* universal.c
*
- * Copyright (c) 1997-2003, Larry Wall
+ * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
+ * by Larry Wall and others
*
* You may distribute under the terms of either the GNU General Public
* License or the Artistic License, as specified in the README file.
XS(XS_Internals_SvREFCNT);
XS(XS_Internals_hv_clear_placehold);
XS(XS_PerlIO_get_layers);
+XS(XS_Regexp_DESTROY);
void
Perl_boot_core_UNIVERSAL(pTHX)
newXSproto("Internals::SvREFCNT",XS_Internals_SvREFCNT, file, "\\[$%@];$");
newXSproto("Internals::hv_clear_placeholders",
XS_Internals_hv_clear_placehold, file, "\\%");
- newXS("PerlIO::get_layers", XS_PerlIO_get_layers, file);
+ newXSproto("PerlIO::get_layers",
+ XS_PerlIO_get_layers, file, "*;@");
+ newXS("Regexp::DESTROY", XS_Regexp_DESTROY, file);
}
XSRETURN(0);
}
+XS(XS_Regexp_DESTROY)
+{
+
+}
+
XS(XS_PerlIO_get_layers)
{
dXSARGS;
if (items < 1 || items % 2 == 0)
Perl_croak(aTHX_ "Usage: PerlIO_get_layers(filehandle[,args])");
+#ifdef USE_PERLIO
{
SV * sv;
GV * gv;
bool details = FALSE;
if (items > 1) {
- SV **popuntil = MARK + 1;
SV **svp;
for (svp = MARK + 2; svp <= SP; svp += 2) {
XSRETURN(nitem);
}
}
+#endif
XSRETURN(0);
}