summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2023-01-12 17:08:15 +0000
committerPaul Evans <leonerd@leonerd.org.uk>2023-01-14 11:53:30 +0000
commit33019846eaa4ea3ee24c40e9765272bbc0f49317 (patch)
tree19d19cc74fc621c7604a8fc8c8547b27f44ea7f7 /proto.h
parentcafd81a74c4da0b4d981b1c40f72dfa428b6189a (diff)
downloadperl-33019846eaa4ea3ee24c40e9765272bbc0f49317.tar.gz
Expose op_force_list() as a real API function; use it directly in op.c
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index bcba9e889c..a834b7867c 100644
--- a/proto.h
+++ b/proto.h
@@ -3202,6 +3202,10 @@ Perl_op_dump(pTHX_ const OP *o);
#define PERL_ARGS_ASSERT_OP_DUMP \
assert(o)
+PERL_CALLCONV OP *
+Perl_op_force_list(pTHX_ OP *o);
+#define PERL_ARGS_ASSERT_OP_FORCE_LIST
+
PERL_CALLCONV void
Perl_op_free(pTHX_ OP *arg);
#define PERL_ARGS_ASSERT_OP_FREE