Skip to main content

Name

is_adaptive_scope_global

Synopsis

#include "hooks/core/is_adaptive_scope_global.h"

| int **is_adaptive_scope_global** ( | closure, |   | |   | binding_slot, |   | |   | domain); |   |

void * <var class="pdparam">closure</var>; int <var class="pdparam">binding_slot</var>; const char * <var class="pdparam">domain</var>;

| int **has_core_is_adaptive_scope_global_hook** ( | ); |   |

| void **register_core_is_adaptive_scope_global_hook_first** ( | hook, |   | |   | closure); |   |

ec_hook_core_is_adaptive_scope_global_func_t <var class="pdparam">hook</var>; void *<var class="pdparam">closure</var>;

| void **register_core_is_adaptive_scope_global_hook_last** ( | hook, |   | |   | closure); |   |

ec_hook_core_is_adaptive_scope_global_func_t <var class="pdparam">hook</var>; void *<var class="pdparam">closure</var>;

| int **call_core_is_adaptive_scope_global_hook** ( | binding_slot, |   | |   | domain); |   |

int <var class="pdparam">binding_slot</var>; const char * <var class="pdparam">domain</var>;

Description

This hook is called to check if the adaptive scope of the binding/domain pair is global or not. binding_slot is required but domain is optional. It returns a boolean: 1 means that adaptive scope is global.

Was this page helpful?