diff options
author | Matt Jordan <mjordan@digium.com> | 2015-05-07 07:04:43 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2015-05-07 07:04:43 -0500 |
commit | f451af65c4fd27b0e80ccb32612ce25a6ab3791c (patch) | |
tree | 20e811fcc27887d51dbb2c9327eeb0a2c89effcd /include/asterisk/pbx.h | |
parent | 1bf91fbc7325946914e8ab94eedd6849779faff7 (diff) | |
parent | df6c1d755f39308c77f3c49ef0f5fa539e627330 (diff) |
Merge topics 'ASTERISK-25049', 'ASTERISK-25056'
* changes:
CLI: Enable automatic references to modules.
Modules: Make ast_module_info->self available to auxiliary sources.
Diffstat (limited to 'include/asterisk/pbx.h')
-rw-r--r-- | include/asterisk/pbx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h index 795af0584..c09de982a 100644 --- a/include/asterisk/pbx.h +++ b/include/asterisk/pbx.h @@ -1406,7 +1406,7 @@ enum ast_custom_function_escalation { /*! * \brief Register a custom function */ -#define ast_custom_function_register(acf) __ast_custom_function_register(acf, ast_module_info->self) +#define ast_custom_function_register(acf) __ast_custom_function_register(acf, AST_MODULE_SELF) /*! * \brief Register a custom function which requires escalated privileges. @@ -1415,7 +1415,7 @@ enum ast_custom_function_escalation { * arbitrary code) or FILE() (for which write needs permission to change files * on the filesystem). */ -#define ast_custom_function_register_escalating(acf, escalation) __ast_custom_function_register_escalating(acf, escalation, ast_module_info->self) +#define ast_custom_function_register_escalating(acf, escalation) __ast_custom_function_register_escalating(acf, escalation, AST_MODULE_SELF) /*! * \brief Register a custom function |