示例#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);