- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.2k
JsCreateExternalObjectWithPrototype
        rhuanjl edited this page Sep 1, 2018 
        ·
        1 revision
      
    Creates a new object (with prototype) that stores some external data.
CHAKRA_API
    JsCreateExternalObjectWithPrototype(
        _In_opt_ void *data,
        _In_opt_ JsFinalizeCallback finalizeCallback,
        _In_opt_ JsValueRef prototype,
        _Out_ JsValueRef *object);
- data: External data that the object will represent. May be null.
- finalizeCallback: A callback for when the object is finalized. May be null.
- prototype: Prototype object or nullptr.
- object: The new object.
The code JsNoError if the operation succeeded, a failure code otherwise.
This API is experimental and may have breaking changes later.
Requires an active script context.
- 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!