summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorDaniel Dragan <bulk88@hotmail.com>2014-01-28 02:32:57 -0500
committerTony Cook <tony@develop-help.com>2014-01-29 11:00:28 +1100
commit6e53b6cab73f4cc348a8366106f0569e65c858f1 (patch)
tree64ff98f304110086f65902510e63c620f10e68e1 /op.c
parente12272fc5eb86388de50059ac74317661bf13377 (diff)
downloadperl-6e53b6cab73f4cc348a8366106f0569e65c858f1.tar.gz
document op_free and op_null
from https://rt.perl.org/Public/Bug/Display.html?id=121077#txn-1277679 Tony Cook: s/Neutralized/Neutralizes/
Diffstat (limited to 'op.c')
-rw-r--r--op.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/op.c b/op.c
index a31e1af6f0..68d058ed82 100644
--- a/op.c
+++ b/op.c
@@ -672,6 +672,14 @@ S_op_destroy(pTHX_ OP *o)
/* Destructor */
+/*
+=for apidoc Am|void|op_free|OP *o
+
+Frees an op when it no longer linked in any optree.
+
+=cut
+*/
+
void
Perl_op_free(pTHX_ OP *o)
{
@@ -986,6 +994,15 @@ S_find_and_forget_pmops(pTHX_ OP *o)
}
}
+/*
+=for apidoc Am|void|op_null|OP *o
+
+Neutralizes an op when it is no longer needed, but is still linked to from
+other ops.
+
+=cut
+*/
+
void
Perl_op_null(pTHX_ OP *o)
{