- Notifications
You must be signed in to change notification settings - Fork1.2k
JsRunSerializedScript
Limin Zhu edited this pageMar 14, 2017 ·3 revisions
Runs a serialized script.
STDAPI_(JsErrorCode) JsRunSerializedScript( _In_z_ const wchar_t *script, _In_ BYTE *buffer, _In_ JsSourceContext sourceContext, _In_z_ const wchar_t *sourceUrl, _Out_ JsValueRef *result);
- script: The source code of the serialized script.
- buffer: The serialized script.
- sourceContext: A cookie identifying the script that can be used by debuggable script contexts.
- sourceUrl: The location the script came from.
- result: The result of running the script, if any. This parameter can be null.
The codeJsNoError if the operation succeeded, a failure code otherwise.
This API is Windows-only (seeJsParseSerialized for cross-platform equivalent). Requires an active script context.The runtime will hold on to the buffer until all instances of any functions created fromthe buffer are garbage collected.
- Architecture Overview
- Building ChakraCore
- ChakraCore Code Structure
- Contributor Guidance
- Engineering Notes
- Embedding ChakraCore
- Testing ChakraCore
- Getting ChakraCore binaries
- Label Glossary
- Resources
- Roadmap / Release Notes
Want to contribute to this Wiki?Fork it and send a pull request!