- Notifications
You must be signed in to change notification settings - Fork1.2k
JsNativeFunction
Limin Zhu edited this pageJul 3, 2017 ·4 revisions
A function callback.
typedef _Ret_maybenull_ JsValueRef(CALLBACK * JsNativeFunction)(_In_ JsValueRef callee, _In_ bool isConstructCall, _In_ JsValueRef *arguments, _In_ unsigned short argumentCount, _In_opt_ void *callbackState);
- callee: The JavaScript callee.
- isConstructCall: Indicates whether this is a regular call or a 'new' call.
- arguments: The arguments to the call.
arguments[0]
isthis
orundefined
if the function is called plainly. - argumentCount: The number of arguments.
- callbackState: The state passed toJsCreateFunction.
The result of the call, if any.
- 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!