diff options
author | Vincent Pit <vince@profvince.com> | 2009-07-15 22:08:39 +0200 |
---|---|---|
committer | Vincent Pit <perl@profvince.com> | 2009-07-15 22:44:57 +0200 |
commit | 799dfa8f13d23040c29f657b9be4b8c752194cac (patch) | |
tree | e1fb7405e5646c1b20b4362f108ad0d167150f03 /intrpvar.h | |
parent | cabc01fc4ad269039c414204199dbe27ea8309c1 (diff) | |
download | perl-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 'intrpvar.h')
-rw-r--r-- | intrpvar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intrpvar.h b/intrpvar.h index fe3f07f5eb..975bab07cf 100644 --- a/intrpvar.h +++ b/intrpvar.h @@ -170,7 +170,7 @@ PERLVARA(Icolors,6, char *) /* from regcomp.c */ PERLVARI(Ipeepp, peep_t, MEMBER_TO_FPTR(Perl_peep)) /* Pointer to peephole optimizer */ -PERLVARI(Iopfreehook, Perl_check_t, 0) /* op_free() hook */ +PERLVARI(Iopfreehook, Perl_ophook_t, 0) /* op_free() hook */ PERLVARI(Imaxscream, I32, -1) PERLVARI(Ireginterp_cnt,I32, 0) /* Whether "Regexp" was interpolated. */ |