Skip to content

Commit

Permalink
Disallow GIMME in ext/
Browse files Browse the repository at this point in the history
It’s an inefficient macro, so we don’t want it inadvertently
used again.
  • Loading branch information
Father Chrysostomos committed Dec 21, 2014
1 parent 0ca025e commit 7143f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op.h
Expand Up @@ -150,7 +150,7 @@ Deprecated. Use C<GIMME_V> instead.
#define OPf_LIST OPf_WANT_LIST
#define OPf_KNOW OPf_WANT

#ifndef PERL_CORE
#if !defined(PERL_CORE) && !defined(PERL_EXT)
# define GIMME \
(PL_op->op_flags & OPf_WANT \
? ((PL_op->op_flags & OPf_WANT) == OPf_WANT_LIST \
Expand Down

0 comments on commit 7143f21

Please sign in to comment.