Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

JsNativeFunction

Limin Zhu edited this page Jul 3, 2017 · 4 revisions

A function callback.

Syntax

typedef _Ret_maybenull_ JsValueRef(CALLBACK * JsNativeFunction)(_In_ JsValueRef callee, _In_ bool isConstructCall, _In_ JsValueRef *arguments, _In_ unsigned short argumentCount, _In_opt_ void *callbackState);

Parameters

  • callee: The JavaScript callee.
  • isConstructCall: Indicates whether this is a regular call or a 'new' call.
  • arguments: The arguments to the call. arguments[0] is this or undefined if the function is called plainly.
  • argumentCount: The number of arguments.
  • callbackState: The state passed to JsCreateFunction.

Return Value

The result of the call, if any.

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.