Skip to main content

JS_DumpMemoryUsage

Function JS_DumpMemoryUsage 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_DumpMemoryUsage( fp: *mut c_void, s: *const JSMemoryUsage, _rt: *mut JsRuntime, )
Expand description

JS_DumpMemoryUsage: print the report to fp.

Rendered as key: value lines rather than the reference’s formatted table, because the numbers behind the table do not exist here; the two that do are named exactly.

§Safety

fp must be a writable FILE * and s a filled JSMemoryUsage.