summaryrefslogtreecommitdiff
path: root/mathoms.c
diff options
context:
space:
mode:
authorBen Morrow <ben@morrow.me.uk>2010-11-14 16:24:05 -0800
committerFather Chrysostomos <sprout@cpan.org>2010-11-14 16:44:37 -0800
commit9733086de353bc33c973e56ef83fcd300a3f9492 (patch)
tree36b85eb7b260214811f4e11584804d2eec4a85c1 /mathoms.c
parentf568d64db9fd2f50b6dedca8aa82de25c5eb915a (diff)
downloadperl-9733086de353bc33c973e56ef83fcd300a3f9492.tar.gz
Document the new custom op functions.
Diffstat (limited to 'mathoms.c')
-rw-r--r--mathoms.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/mathoms.c b/mathoms.c
index ccefceb154..dac7eae465 100644
--- a/mathoms.c
+++ b/mathoms.c
@@ -1555,6 +1555,20 @@ Perl_sv_2bool(pTHX_ register SV *const sv)
}
+/*
+=for apidoc custom_op_name
+Return the name for a given custom op. This was once used by the OP_NAME
+macro, but is no longer: it has only been kept for compatibility, and
+should not be used.
+
+=for apidoc custom_op_desc
+Return the description of a given custom op. This was once used by the
+OP_DESC macro, but is no longer: it has only been kept for
+compatibility, and should not be used.
+
+=cut
+*/
+
const char*
Perl_custom_op_name(pTHX_ const OP* o)
{