From 3e4ddde58e18d81b358926bde131ebf3c037e8bc Mon Sep 17 00:00:00 2001 From: Zefram Date: Mon, 13 Dec 2010 20:53:19 +0000 Subject: [PATCH] mark blockhooks API as experimental --- op.c | 2 +- op.h | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/op.c b/op.c index 09b1bbc..99d244c 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. diff --git a/op.h b/op.h index 2c8e7fc..a55bb1e 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 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 is a preprocessing token indicating which entry to set. The type of I 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 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 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. I is a preprocessing token; the type of I depends on I. -- 2.7.4