diff options
author | Daniel Dragan <bulk88@hotmail.com> | 2014-01-28 02:32:57 -0500 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2014-01-29 11:00:28 +1100 |
commit | 6e53b6cab73f4cc348a8366106f0569e65c858f1 (patch) | |
tree | 64ff98f304110086f65902510e63c620f10e68e1 /op.c | |
parent | e12272fc5eb86388de50059ac74317661bf13377 (diff) | |
download | perl-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.c | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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) { |