summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorNicolas R <nicolas@atoomic.org>2020-11-03 15:28:04 -0700
committerTodd Rinaldo <toddr@cpan.org>2020-11-10 12:51:31 -0600
commit47e6c6d93f57c4fc8d67fee6635d33d3bf768674 (patch)
treed100058ead915419d329ce0484ad553f2714a575 /perl.h
parentb52b6c4029b51818442d64c6104d26e12e140f09 (diff)
downloadperl-47e6c6d93f57c4fc8d67fee6635d33d3bf768674.tar.gz
Add a few helpers to B for INVLIST
This commit provide some basic method to access to internal fields from one INVLIST: SVt_INVLIST - prev_index - is_offset - array_len - get_invlist_array This allows B::C to be walk and save invlists.
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index d0066f5168..da05d96214 100644
--- a/perl.h
+++ b/perl.h
@@ -2800,6 +2800,7 @@ typedef struct gv GV;
typedef struct io IO;
typedef struct context PERL_CONTEXT;
typedef struct block BLOCK;
+typedef struct invlist INVLIST;
typedef struct magic MAGIC;
typedef struct xpv XPV;