Function chakracore_sys::JsGetRuntimeMemoryLimit [] [src]

pub unsafe extern "system" fn JsGetRuntimeMemoryLimit(
    runtime: JsRuntimeHandle,
    memoryLimit: *mut usize
) -> JsErrorCode

Gets the current memory limit for a runtime. The memory limit of a runtime can be always be retrieved, regardless of whether or not the runtime is active on another thread. The runtime whose memory limit is to be retrieved. The runtime's current memory limit, in bytes, or -1 if no limit has been set. The code JsNoError if the operation succeeded, a failure code otherwise.