summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorVincent Pit <vince@profvince.com>2009-07-15 22:08:39 +0200
committerVincent Pit <perl@profvince.com>2009-07-15 22:44:57 +0200
commit799dfa8f13d23040c29f657b9be4b8c752194cac (patch)
treee1fb7405e5646c1b20b4362f108ad0d167150f03 /perl.h
parentcabc01fc4ad269039c414204199dbe27ea8309c1 (diff)
downloadperl-799dfa8f13d23040c29f657b9be4b8c752194cac.tar.gz
The op_free() hook doesn't need to return an OP*, so introduce a new typedef for OP hooks
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 7cdcd1613b..6fafe9ab94 100644
--- a/perl.h
+++ b/perl.h
@@ -4732,6 +4732,7 @@ typedef void (*XSUBADDR_t) (pTHX_ CV *);
typedef OP* (CPERLscope(*Perl_ppaddr_t))(pTHX);
typedef OP* (CPERLscope(*Perl_check_t)) (pTHX_ OP*);
+typedef void(CPERLscope(*Perl_ophook_t))(pTHX_ OP*);
/* Interpreter exitlist entry */
typedef struct exitlistentry {