diff options
author | David Mitchell <davem@iabyn.com> | 2010-11-16 22:44:34 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2010-11-26 16:01:33 +0000 |
commit | 16865ff7e97c2532fd2001d68cf18909acb0d838 (patch) | |
tree | bf7fd4576f7ad2bab0182d6a83e8d16a0495acbb /perliol.h | |
parent | 303f2dc3d5bda8ee962db318dd53acb167c07485 (diff) | |
download | perl-16865ff7e97c2532fd2001d68cf18909acb0d838.tar.gz |
add 'head' field to PerlIOl struct
This allows any layer to find the top of the layer stack,
or more specifically, the entry in PL_perlio that points to
the top.
Needed for the next commit, which will implement a reference counting
scheme.
There's currently a bug in MakeMaker which causes several extensions to
miss the dependency on perliol.h having changed, so this commit includes
a gratuitous whitespace change to perl.h to hopefully force recompilation.
Diffstat (limited to 'perliol.h')
-rw-r--r-- | perliol.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -67,6 +67,7 @@ struct _PerlIO { PerlIOl *next; /* Lower layer */ PerlIO_funcs *tab; /* Functions for this layer */ U32 flags; /* Various flags for state */ + PerlIOl *head; /* our ultimate parent pointer */ }; /*--------------------------------------------------------------------------------------*/ |