- Notifications
You must be signed in to change notification settings - Fork1.2k
JsSerializedScriptLoadSourceCallback
Limin Zhu edited this pageMar 14, 2017 ·2 revisions
Called by the runtime to load the source code of the serialized script. The caller must keep the script buffer valid until the JsSerializedScriptUnloadCallback.
typedef bool (CALLBACK * JsSerializedScriptLoadSourceCallback)(_In_ JsSourceContext sourceContext, _Outptr_result_z_ const wchar_t** scriptBuffer);
- sourceContext: The context passed to Js[Parse|Run]SerializedScriptWithCallback
- scriptBuffer: The script returned.
true if the operation succeeded, false otherwise.
This callback is Windows-only.
- 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!