Skip to main content

update_hook_ctx

Macro update_hook_ctx 

Source
macro_rules! update_hook_ctx {
    ($hook:ident, $ctx:expr) => { ... };
}
Expand description

Updates the context for an already-installed hook.

§Example

forge::update_hook_ctx!(my_hook, &mut new_value);