Scriptlet (and Alerting) Functions

March 26, 2020 Contributors
Name Description
ec_alerting_inc_count Increment a counter for an arbitrary key for a given binding/domain
scpt_autoload_ns Wire up autoload items, just in time
scpt_compile_callout Compile and register a scriptlet entrypoint
scpt_compile_hook_callout Compile and register a scriptlet hook implementation entrypoint
scpt_execute_or_resume Execute or resume execution of a thread
scpt_ffi_cif_alloc Allocate an ffi_cif via the cache
scpt_ffi_closure_alloc allocates an ffi_closure via the cache
scpt_get_bag Returns the environmental "bag" associated with the current callout
scpt_get_traceback Populate the top of the scriptlet stack with a traceback of the current excution stack
scpt_getspecific Fetch previously associated pointer value
scpt_parse_params Parse scriptlet function parameters
scpt_push_double pushes a double on to the stack
scpt_push_integer Push an integer on to the stack
scpt_push_object Box a C structure to pass into a scriptlet routine
scpt_push_object2 Box a C structure to pass into a scriptlet routine
scpt_push_object_and_allocate Allocate room to hold a boxed C structure of a particular type
scpt_push_object_and_allocate2 Allocate room to hold a boxed C structure of a particular type
scpt_push_object_by_typename box a C structure to pass into a scriptlet routine
scpt_push_ref Push a reference onto the stack
scpt_push_string Push a string onto the stack
scpt_raise_error triggers an "exception" in the scriptlet runtime
scpt_register_autoload register a set of autoloadable items in a namespace
scpt_register_funcs registers a set of functions in a namespace
scpt_register_objtype Register an object type with the scriptlet runtime
scpt_register_objtype_augmentation Manually augment a set of methods for an objtype
scpt_run_callout Execute or resume execution of a scriptlet callout
scpt_set_output_string Set the output string for a scriptlet thread
scpt_setspecific associate an arbitrary pointer with an execution context
scpt_thread_close release a scriptlet execution context
scpt_thread_new create a new scriptlet execution context
scpt_unpin_ref un-pin a reference

The APIs documented here relate to the scriptlet module and the alerting module.