summaryrefslogtreecommitdiff
path: root/thrdvar.h
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2006-04-02 16:32:10 +0000
committerDave Mitchell <davem@fdisolutions.com>2006-04-02 16:32:10 +0000
commit5d9a96ca2d500987d60740e4430baf1602f410c1 (patch)
treeb445051ed7a8129a0b2e3958c3cfce291fa7618a /thrdvar.h
parent623e66097f3d3c76e4fbfed49657029a98953c17 (diff)
downloadperl-5d9a96ca2d500987d60740e4430baf1602f410c1.tar.gz
use slabs to allocate save state space in regmatch()
p4raw-id: //depot/perl@27679
Diffstat (limited to 'thrdvar.h')
-rw-r--r--thrdvar.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/thrdvar.h b/thrdvar.h
index 5db1a3363f..34bd747679 100644
--- a/thrdvar.h
+++ b/thrdvar.h
@@ -221,3 +221,8 @@ PERLVAR(Twatchok, char *)
PERLVAR(Treg_match_utf8, bool) /* was what we matched against utf8 */
+/* the currently active slab in a chain of slabs of regmatch states,
+ * and the currently active state within that slab */
+
+PERLVARI(Tregmatch_slab, regmatch_slab *, NULL)
+PERLVAR(Tregmatch_state, regmatch_state *)