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