Example #1
0
 public static extern JsErrorCode JsGetRuntime(JsContextRef context, out JsRuntimeHandle runtime);
Example #2
0
 public static extern JsErrorCode JsTraceExternalReference(JsRuntimeHandle runtimeHandle, JsValueRef value);
Example #3
0
 public static extern JsErrorCode JsAllocRawData(JsRuntimeHandle runtimeHandle, ulong sizeInBytes, bool zeroed, out JsRef buffer);
Example #4
0
 public static extern JsErrorCode JsSetRuntimeBeforeSweepCallback(JsRuntimeHandle runtimeHandle, IntPtr callbackState, JsBeforeSweepCallback beforeSweepCallback);
Example #5
0
 public static extern JsErrorCode JsSetRuntimeDomWrapperTracingCallbacks(JsRuntimeHandle runtimeHandle, JsRef wrapperTracingState, JsDOMWrapperTracingCallback wrapperTracingCallback, JsDOMWrapperTracingDoneCallback wrapperTracingDoneCallback,
                                                                         JsDOMWrapperTracingEnterFinalPauseCallback enterFinalPauseCallback);
Example #6
0
 public static extern JsErrorCode JsSetRuntimeMemoryAllocationCallback(JsRuntimeHandle runtime, IntPtr callbackState, JsMemoryAllocationCallback allocationCallback);
Example #7
0
 public static extern JsErrorCode JsCreateContext(JsRuntimeHandle runtime, out JsContextRef newContext);
Example #8
0
 public static extern JsErrorCode JsIsRuntimeExecutionDisabled(JsRuntimeHandle runtime, out bool isDisabled);
Example #9
0
 public static extern JsErrorCode JsSetRuntimeMemoryLimit(JsRuntimeHandle runtime, ulong memoryLimit);
Example #10
0
 public static extern JsErrorCode JsEnableRuntimeExecution(JsRuntimeHandle runtime);
Example #11
0
 public static extern JsErrorCode JsGetRuntimeMemoryUsage(JsRuntimeHandle runtime, out ulong memoryUsage);
Example #12
0
 public static extern JsErrorCode JsDisposeRuntime(JsRuntimeHandle runtime);
Example #13
0
 public static extern JsErrorCode JsCollectGarbage(JsRuntimeHandle runtime);
Example #14
0
 public static extern JsErrorCode JsCreateRuntime(JsRuntimeAttributes attributes, JsThreadServiceCallback threadService, out JsRuntimeHandle runtime);