summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorBen Morrow <ben@morrow.me.uk>2009-12-07 11:52:23 +0000
committerRafael Garcia-Suarez <rgs@consttype.org>2010-07-12 10:40:47 +0200
commit52db365a88f7ab3b9b091f983a05054164499982 (patch)
treeb4c8cfb606ca59bff9d00fd9263e797771fb5e3e /perl.h
parent03569ecfc8c82939dcc47b586a8e22c613c158b2 (diff)
downloadperl-52db365a88f7ab3b9b091f983a05054164499982.tar.gz
Macroify the block_hooks structure.
Add a flags member, so it can be extended later if necessary. Add a bhk_eval member, called from doeval to catch requires and string evals.
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index 3d60a33076..0d4a891ce2 100644
--- a/perl.h
+++ b/perl.h
@@ -2385,6 +2385,8 @@ typedef struct padop PADOP;
typedef struct pvop PVOP;
typedef struct loop LOOP;
+typedef struct block_hooks BHK;
+
typedef struct interpreter PerlInterpreter;
/* Amdahl's <ksync.h> has struct sv */