This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regexec.c - fix memory leak in EVAL.
[perl5.git] / ext / XS-APItest / APItest.xs
index ff7667b..a7f1d5f 100644 (file)
@@ -7931,3 +7931,12 @@ newSvNV(const char * string)
         RETVAL = SvNV(newSVpv(string, 0));
     OUTPUT:
         RETVAL
+
+MODULE = XS::APItest            PACKAGE = XS::APItest::savestack
+
+IV
+get_savestack_ix()
+    CODE:
+        RETVAL = PL_savestack_ix;
+    OUTPUT:
+        RETVAL