summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2010-12-13 20:53:19 +0000
committerZefram <zefram@fysh.org>2010-12-13 20:53:19 +0000
commit3e4ddde58e18d81b358926bde131ebf3c037e8bc (patch)
treeea280fc70df4bb0396ad1dc1dbdc68ac99fed25b
parentef9721fc60cacaeb74316653681a979701a8eb30 (diff)
downloadperl-3e4ddde58e18d81b358926bde131ebf3c037e8bc.tar.gz
mark blockhooks API as experimental
-rw-r--r--op.c2
-rw-r--r--op.h12
2 files changed, 7 insertions, 7 deletions
diff --git a/op.c b/op.c
index 09b1bbc1bd..99d244cd9c 100644
--- a/op.c
+++ b/op.c
@@ -2430,7 +2430,7 @@ Perl_block_end(pTHX_ I32 floor, OP *seq)
/*
=head1 Compile-time scope hooks
-=for apidoc Ao||blockhook_register
+=for apidoc Aox||blockhook_register
Register a set of hooks to be called when the Perl lexical scope changes
at compile time. See L<perlguts/"Compile-time scope hooks">.
diff --git a/op.h b/op.h
index 2c8e7fc2ca..a55bb1e536 100644
--- a/op.h
+++ b/op.h
@@ -677,32 +677,32 @@ struct block_hooks {
/*
=head1 Compile-time scope hooks
-=for apidoc m|U32|BhkFLAGS|BHK *hk
+=for apidoc mx|U32|BhkFLAGS|BHK *hk
Return the BHK's flags.
-=for apidoc m|void *|BhkENTRY|BHK *hk|which
+=for apidoc mx|void *|BhkENTRY|BHK *hk|which
Return an entry from the BHK structure. I<which> is a preprocessor token
indicating which entry to return. If the appropriate flag is not set
this will return NULL. The type of the return value depends on which
entry you ask for.
-=for apidoc Am|void|BhkENTRY_set|BHK *hk|which|void *ptr
+=for apidoc Amx|void|BhkENTRY_set|BHK *hk|which|void *ptr
Set an entry in the BHK structure, and set the flags to indicate it is
valid. I<which> is a preprocessing token indicating which entry to set.
The type of I<ptr> depends on the entry.
-=for apidoc Am|void|BhkDISABLE|BHK *hk|which
+=for apidoc Amx|void|BhkDISABLE|BHK *hk|which
Temporarily disable an entry in this BHK structure, by clearing the
appropriate flag. I<which> is a preprocessor token indicating which
entry to disable.
-=for apidoc Am|void|BhkENABLE|BHK *hk|which
+=for apidoc Amx|void|BhkENABLE|BHK *hk|which
Re-enable an entry in this BHK structure, by setting the appropriate
flag. I<which> is a preprocessor token indicating which entry to enable.
This will assert (under -DDEBUGGING) if the entry doesn't contain a valid
pointer.
-=for apidoc m|void|CALL_BLOCK_HOOKS|which|arg
+=for apidoc mx|void|CALL_BLOCK_HOOKS|which|arg
Call all the registered block hooks for type I<which>. I<which> is a
preprocessing token; the type of I<arg> depends on I<which>.