JSVM_CompileOptions
typedef struct {...} JSVM_CompileOptions
Overview
Defines a struct that represents the type of the elements in options of OH_JSVM_CompileScriptWithOptions.
Since: 12
Related module: JSVM
Header file: jsvm_types.h
Summary
Member Variables
| Name | Description |
|---|---|
| JSVM_CompileOptionId id | Compilation option ID. |
| content | Union of the compilation option value corresponding to the ID. |
| content.ptr | Pointer to the compilation option value. |
| content.num | Used to store the compilation option value of the integer type. |
| content.boolean | Used to store the compilation option value of the Boolean type. |