Beispiel #1
0
 internal static extern JavaScriptErrorCode JsCreateContext(JavaScriptRuntime runtime, out JavaScriptContext newContext);
Beispiel #2
0
 internal static extern JavaScriptErrorCode JsGetRuntime(JavaScriptContext context, out JavaScriptRuntime runtime);
Beispiel #3
0
 internal static extern JavaScriptErrorCode JsSetRuntimeMemoryAllocationCallback(JavaScriptRuntime runtime, IntPtr callbackState, JavaScriptMemoryAllocationCallback allocationCallback);
Beispiel #4
0
 internal static extern JavaScriptErrorCode JsSetRuntimeBeforeCollectCallback(JavaScriptRuntime runtime, IntPtr callbackState, JavaScriptBeforeCollectCallback beforeCollectCallback);
Beispiel #5
0
 internal static extern JavaScriptErrorCode JsIsRuntimeExecutionDisabled(JavaScriptRuntime runtime, out bool isDisabled);
Beispiel #6
0
 internal static extern JavaScriptErrorCode JsSetRuntimeMemoryLimit(JavaScriptRuntime runtime, UIntPtr memoryLimit);
Beispiel #7
0
 internal static extern JavaScriptErrorCode JsGetRuntimeMemoryUsage(JavaScriptRuntime runtime, out UIntPtr memoryUsage);
Beispiel #8
0
 internal static extern JavaScriptErrorCode JsEnableRuntimeExecution(JavaScriptRuntime runtime);
Beispiel #9
0
 internal static extern JavaScriptErrorCode JsDisposeRuntime(JavaScriptRuntime handle);
Beispiel #10
0
 internal static extern JavaScriptErrorCode JsCollectGarbage(JavaScriptRuntime handle);
Beispiel #11
0
 internal static extern JavaScriptErrorCode JsCreateRuntime(JavaScriptRuntimeAttributes attributes,
                                                            JavaScriptThreadServiceCallback threadService, out JavaScriptRuntime runtime);
Beispiel #12
0
 public static extern JavaScriptErrorCode JsDisableRuntimeExecution(JavaScriptRuntime runtime);
Beispiel #13
0
 public static extern JavaScriptErrorCode JsGetRuntimeMemoryLimit(JavaScriptRuntime runtime, out UIntPtr memoryLimit);