summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-07-02 13:16:45 -0600
committerKarl Williamson <public@khwilliamson.com>2013-07-03 19:21:19 -0600
commite0ce103ae532f9576f54a5938a24d1ee98dfb928 (patch)
tree3b83940e35f28b4e594bf89d4c66038363d5d742 /sv.h
parente045dbedc7da04e20cc8cfccec8a2e3ccc62cc8b (diff)
downloadperl-e0ce103ae532f9576f54a5938a24d1ee98dfb928.tar.gz
Use new Svt_INVLIST for inversion lists.
This converts inversion lists to use their own scalar type.
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sv.h b/sv.h
index 475da61b7b..c2be3ba81d 100644
--- a/sv.h
+++ b/sv.h
@@ -528,6 +528,14 @@ struct xpvlv {
char xlv_flags; /* 1 = negative offset 2 = negative len */
};
+struct xpvinvlist {
+ _XPV_HEAD;
+ IV prev_index;
+ STRLEN iterator;
+ STRLEN count;
+ bool is_offset; /* */
+};
+
/* This structure works in 3 ways - regular scalar, GV with GP, or fast
Boyer-Moore. */
struct xpvgv {