| ||||||
SummaryInitializes the JavaScript runtime. | ||||||
SyntaxJS_NewRuntime(maxbytes); | ||||||
DescriptionJS_NewRuntime initializes the JavaScript runtime environment. Call JS_NewRuntime before making any other API calls. JS_NewRuntime allocates memory for the JSRuntime, and initializes certain internal runtime structures. maxbytes specifies the number of allocated bytes after which garbage collection is run.
Generally speaking, most applications need only one
If
| ||||||
See Also
|