Post change 32880, restore the dummy sub Regexp::DESTROY {}
authorNicholas Clark <nick@ccl4.org>
Mon, 7 Jan 2008 23:31:34 +0000 (23:31 +0000)
committerNicholas Clark <nick@ccl4.org>
Mon, 7 Jan 2008 23:31:34 +0000 (23:31 +0000)
p4raw-id: //depot/perl@32896

universal.c

index 7d1bd55..a6b3f6e 100644 (file)
@@ -205,6 +205,7 @@ XS(XS_Internals_SvREADONLY);
 XS(XS_Internals_SvREFCNT);
 XS(XS_Internals_hv_clear_placehold);
 XS(XS_PerlIO_get_layers);
+XS(XS_Regexp_DESTROY);
 XS(XS_Internals_hash_seed);
 XS(XS_Internals_rehash_seed);
 XS(XS_Internals_HvREHASH);
@@ -268,6 +269,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);
     newXSproto("Internals::hash_seed",XS_Internals_hash_seed, file, "");
     newXSproto("Internals::rehash_seed",XS_Internals_rehash_seed, file, "");
     newXSproto("Internals::HvREHASH", XS_Internals_HvREHASH, file, "\\%");
@@ -879,6 +881,12 @@ XS(XS_Internals_hv_clear_placehold)
     }
 }
 
+XS(XS_Regexp_DESTROY)
+{
+    PERL_UNUSED_CONTEXT;
+    PERL_UNUSED_ARG(cv);
+}
+
 XS(XS_PerlIO_get_layers)
 {
     dVAR;