X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=universal.c;h=e7889fb1fd2dea089b97a409e2ae6fcffa92bb7f;hb=b8d5f52139b667ea3276273b5665157310d1a461;hp=39a724df4766c14561be26a3b3058341051069ea;hpb=9d569fce7e05dcd53624075ce9247bfbc6ef263e;p=p5sagit%2Fp5-mst-13.2.git diff --git a/universal.c b/universal.c index 39a724d..e7889fb 100644 --- a/universal.c +++ b/universal.c @@ -1,6 +1,7 @@ /* 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. @@ -181,6 +182,7 @@ XS(XS_Internals_SvREADONLY); 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) @@ -221,6 +223,7 @@ Perl_boot_core_UNIVERSAL(pTHX) XS_Internals_hv_clear_placehold, file, "\\%"); newXSproto("PerlIO::get_layers", XS_PerlIO_get_layers, file, "*;@"); + newXS("Regexp::DESTROY", XS_Regexp_DESTROY, file); } @@ -722,6 +725,11 @@ XS(XS_Internals_hv_clear_placehold) XSRETURN(0); } +XS(XS_Regexp_DESTROY) +{ + +} + XS(XS_PerlIO_get_layers) { dXSARGS; @@ -736,7 +744,6 @@ XS(XS_PerlIO_get_layers) bool details = FALSE; if (items > 1) { - SV **popuntil = MARK + 1; SV **svp; for (svp = MARK + 2; svp <= SP; svp += 2) {