Skip to main content

JS_SetRuntimeInfo

Function JS_SetRuntimeInfo 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_SetRuntimeInfo( rt: *mut JsRuntime, info: *const c_char, )
Expand description

JS_SetRuntimeInfo: a label for diagnostics.

ยงSafety

info must be null or NUL-terminated, and outlive the runtime as the header requires.