Skip to main content

Module script

Module script 

Source
Expand description

Data and APIs for supporting Script_Extensions property values in an efficient structure.

Structsยง

ScriptExtensionsSet
A struct that wraps a Script array, such as in the return value for get_script_extensions_val().
ScriptWithExtensions
A struct that represents the data for the Script and Script_Extensions properties.
ScriptWithExtensionsBorrowed
A borrowed wrapper around script extension data, returned by ScriptWithExtensions::as_borrowed(). More efficient to query.

Constantsยง

SCRIPT_VAL_LENGTH ๐Ÿ”’
The number of bits at the low-end of a ScriptWithExt value used for storing the Script value (or extensions index).
SCRIPT_X_SCRIPT_VAL ๐Ÿ”’
The bit mask necessary to retrieve the Script value (or extensions index) from a ScriptWithExt value.