#include "VXIjsi.h"
#include "VXIlog.h"
#include "VXIheaderPrefix.h"
#include "VXIheaderSuffix.h"
SBjsi | |
SBjsi implementation of VXIjsi SBjsi interface, an implementation of the VXIjsi interface for interacting with a ECMAScript (JavaScript) engine. This provides functionality for creating ECMAScript execution contexts, manipulating ECMAScript scopes, manipulating variables within those scopes, and evaluating ECMAScript expressions/scripts.
There is one VXIjsi interface per thread/line. | |
#define | JSI_RUNTIME_SIZE_DEFAULT (1024 * 1024 * 16) |
#define | JSI_CONTEXT_SIZE_DEFAULT (1024 * 128) |
#define | JSI_MAX_BRANCHES_DEFAULT 100000 |
SBJSI_API VXIjsiResult | SBjsiInit (VXIlogInterface *log, VXIunsigned diagLogBase, VXIlong runtimeSize, VXIlong contextSize, VXIlong maxBranches) |
Global platform initialization of JavaScript. | |
SBJSI_API VXIjsiResult | SBjsiShutDown (VXIlogInterface *log) |
Global platform shutdown of JavaScript. | |
SBJSI_API VXIjsiResult | SBjsiCreateResource (VXIlogInterface *log, VXIjsiInterface **jsi) |
Create a new JavaScript service handle. | |
SBJSI_API VXIjsiResult | SBjsiDestroyResource (VXIjsiInterface **jsi) |
Destroy the interface and free internal resources. | |
Defines | |
#define | SBJSI_API SYMBOL_IMPORT_DECL |
|
|
|
|
|
|
|
|
|
Create a new JavaScript service handle.
|
|
Destroy the interface and free internal resources. Once this is called, the logging interface passed to SBjsiCreateResource( ) may be released as well.
|
|
Global platform initialization of JavaScript.
|
|
Global platform shutdown of JavaScript.
|