summaryrefslogtreecommitdiff
path: root/scope.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-08-31 14:40:12 -0600
committerKarl Williamson <khw@cpan.org>2019-09-02 21:52:12 -0600
commit3bb9fd013171017d6a8e6d15596f69c350a23a1a (patch)
tree98575fb7aef2fa75983edc4ae082f7a9878ab3cf /scope.h
parentcaf8c6bce239e9671634ff65f1f61ab2905d4fbd (diff)
downloadperl-3bb9fd013171017d6a8e6d15596f69c350a23a1a.tar.gz
Change pod for macros that require "literal strings"
Now that Devel::PPPort has the ability to handle these, we can loosen the syntax for clarity.
Diffstat (limited to 'scope.h')
-rw-r--r--scope.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scope.h b/scope.h
index 5fde315e83..483bc5d700 100644
--- a/scope.h
+++ b/scope.h
@@ -167,12 +167,12 @@ Opening bracket on a callback. See C<L</LEAVE>> and L<perlcall>.
=for apidoc Amns||LEAVE
Closing bracket on a callback. See C<L</ENTER>> and L<perlcall>.
-=for apidoc Ams||ENTER_with_name|const char * name
+=for apidoc Ams||ENTER_with_name|"name"
Same as C<L</ENTER>>, but when debugging is enabled it also associates the
given literal string with the new scope.
-=for apidoc Ams||LEAVE_with_name|const char * name
+=for apidoc Ams||LEAVE_with_name|"name"
Same as C<L</LEAVE>>, but when debugging is enabled it first checks that the
scope has the given name. C<name> must be a literal string.