Skip to main content

JS_SetMaxStackSize

Function JS_SetMaxStackSize 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_SetMaxStackSize( rt: *mut JsRuntime, stack_size: usize, )
Expand description

JS_SetMaxStackSize: cap the call depth, 0 to disable the check.

ยงSafety

rt must be a live runtime.