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

JsCreateString

Xiaoyin Liu edited this pageAug 22, 2017 ·5 revisions

Create JavascriptString variable from ASCII or Utf8 string

Syntax

CHAKRA_API    JsCreateString(        _In_ const char *content,        _In_ size_t length,        _Out_ JsValueRef *value);

Parameters

  • content: Pointer to string memory.
  • length: Number of bytes within the string
  • value: JsValueRef representing the JavascriptString

Return Value

The codeJsNoError if the operation succeeded, a failure code otherwise.

Remarks

This API is experimental and may have breaking change later.

Requires an active script context.

Input string can be either ASCII or Utf8.

Want to contribute to this Wiki?

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp