public SetMemoryAllocationCallback ( |
||
callbackState | User provided state that will be passed back to the callback | |
allocationCallback | JsMemoryAllocationCallback | Memory allocation callback to be called for memory allocation events |
return | void |
public void SetMemoryAllocationCallback(IntPtr callbackState, JsMemoryAllocationCallback allocationCallback)
{
EdgeJsErrorHelpers.ThrowIfError(EdgeNativeMethods.JsSetRuntimeMemoryAllocationCallback(this, callbackState, allocationCallback));
}