JS_NewRuntime

Function JS_NewRuntime 

Source
pub unsafe fn JS_NewRuntime() -> *mut JSRuntime
Expand description

ยงSafety

This function initializes a new JavaScript runtime with default memory allocation functions. The caller must ensure that the returned runtime is properly freed with JS_FreeRuntime.