summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-08-09 06:02:39 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-08-14 12:54:23 -0700
commita051f6c4b8aae71e5158c70dcff267f262d2f4c4 (patch)
treec6f1198dccc4724b740249c63588459158be9498 /op.c
parentb66130dd0dcaf72b6e443ebde808ff3b8ff9c885 (diff)
downloadperl-a051f6c4b8aae71e5158c70dcff267f262d2f4c4.tar.gz
Update core_prototype’s docs
Diffstat (limited to 'op.c')
-rw-r--r--op.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/op.c b/op.c
index d4d89e4c59..4f8693a4b9 100644
--- a/op.c
+++ b/op.c
@@ -10333,10 +10333,8 @@ Perl_custom_op_register(pTHX_ Perl_ppaddr_t ppaddr, const XOP *xop)
=for apidoc core_prototype
This function assigns the prototype of the named core function to C<sv>, or
to a new mortal SV if C<sv> is NULL. It returns the modified C<sv>, or
-NULL if the core function has no prototype.
-
-If the C<name> is not a Perl keyword, it croaks if C<croak> is true, or
-returns NULL if C<croak> is false.
+NULL if the core function has no prototype. C<code> is a code as returned
+by C<keyword()>. It must be negative and unequal to -KEY_CORE.
=cut
*/