summaryrefslogtreecommitdiff
path: root/pp.h
diff options
context:
space:
mode:
Diffstat (limited to 'pp.h')
-rw-r--r--pp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pp.h b/pp.h
index ec701f3054..11dd9d0e82 100644
--- a/pp.h
+++ b/pp.h
@@ -49,6 +49,8 @@
#define dTARG SV *targ
+#define dXS_TARGET SV * targ = (PL_op->op_private & OPpENTERSUB_HASTARG ? PAD_SV(PL_op->op_targ) : sv_newmortal())
+
#define NORMAL PL_op->op_next
#define DIE return Perl_die