OpenSpeech Browser

Getting Started
Architecture Description
Integration Guide

Copyright (c) 1998-2001 SpeechWorks International, Inc. All Rights Reserved.

SBJSI_API VXIjsiResult SBjsiInit

(VXIlogInterface* log,
  VXIunsigned diagLogBase,
  VXIlong runtimeSize,
  VXIlong contextSize,
  VXIlong maxBranches)

Global platform initialization of JavaScript


Global platform initialization of JavaScript

- log VXI Logging interface used for error/diagnostic logging, only used for the duration of this function call
diagLogBase - Base tag number for diagnostic logging purposes. All diagnostic tags for SBjsi will start at this ID and increase upwards.
runtimeSize - Size of the JavaScript runtime environment, in bytes. There is one runtime per process. See above for a recommended default.
contextSize - Size of each JavaScript context, in bytes. There may be multiple contexts per channel, although the VXI typically only uses one per channel. See above for a recommended default.
maxBranches - Maximum number of JavaScript branches for each JavaScript evaluation, used to interrupt infinite loops from (possibly malicious) scripts @result VXIjsiResult 0 on success

Alphabetic index HTML hierarchy of classes or Java

This page was generated with the help of DOC++.