Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

JsNativeFunction

Limin Zhu edited this pageJul 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] isthis orundefined if the function is called plainly.
  • argumentCount: The number of arguments.
  • callbackState: The state passed toJsCreateFunction.

Return Value

The result of the call, if any.

Want to contribute to this Wiki?

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp