Function mozjs::jsapi::JS_DefineProfilingFunctions

source ยท
pub unsafe extern "C" fn JS_DefineProfilingFunctions(
    cx: *mut JSContext,
    obj: Handle<*mut JSObject>,
) -> bool
Expand description

Add various profiling-related functions as properties of the given object. Defined in builtin/Profilers.cpp.