scpt_compile_hook_callout
Last updated March 2020
Name
scpt_compile_hook_callout — Compile and register a scriptlet hook implementation entrypoint
Synopsis
#include "modules/scriptlets/ec_scriptlet.h"
| int **scpt_compile_hook_callout** (
| hookname, | |
| | coptr)
; | |
Description
**Configuration Change. ** This feature is available starting from Momentum 3.2.
Compile and register a scriptlet hook implementation entrypoint.
Similar to scpt_compile_callout, except that the hook signature will be queried from the hook subsystem.
- hookname
-
The name of the hook.
- coptr
-
The location of the pointer to the callout.
On success this function returns 1
; On failure, 0
is returned.
It is legal to call this function in any thread.
See Also
Was this page helpful?