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