Example #1
0
 public static void ViewSetDomReadyCallback(View *view, FnPtr <DomReadyCallback> callback, [NativeTypeName("void *")] void *userData)
 => ViewSetDomReadyCallback(view, (IntPtr)callback, userData);
Example #2
0
 public static void ViewSetUpdateHistoryCallback(View *view, FnPtr <UpdateHistoryCallback> callback, [NativeTypeName("void *")] void *userData)
 => ViewSetUpdateHistoryCallback(view, (IntPtr)callback, userData);
Example #3
0
 public static void ViewSetCreateChildViewCallback(View *view, FnPtr <CreateChildViewCallback> callback, [NativeTypeName("void *")] void *userData)
 => ViewSetCreateChildViewCallback(view, (IntPtr)callback, userData);
Example #4
0
 public static void ViewSetFailLoadingCallback(View *view, FnPtr <FailLoadingCallback> callback, [NativeTypeName("void *")] void *userData)
 => ViewSetFailLoadingCallback(view, (IntPtr)callback, userData);
Example #5
0
 public static void ViewSetChangeCursorCallback(View *view, FnPtr <ChangeTooltipCallback> callback, [NativeTypeName("void *")] void *userData)
 => ViewSetChangeCursorCallback(view, (IntPtr)callback, userData);
Example #6
0
 public static void ViewSetAddConsoleMessageCallback(View *view, FnPtr <AddConsoleMessageCallback> callback, [NativeTypeName("void *")] void *userData)
 => ViewSetAddConsoleMessageCallback(view, (IntPtr)callback, userData);
Example #7
0
 public static JsValue *JsObjectMakeTypedArrayWithBytesNoCopy(JsContext *ctx, JsTypedArrayType arrayType, void *bytes, UIntPtr byteLength, FnPtr <TypedArrayBytesDeallocatorCallback> bytesDeallocator, void *deallocatorContext,
                                                              JsValue **exception)
 => JsObjectMakeTypedArrayWithBytesNoCopy(ctx, arrayType, bytes, byteLength, (IntPtr)bytesDeallocator, deallocatorContext, exception);
Example #8
0
 public static JsValue *JsObjectMakeConstructor(JsContext *ctx, JsClass *jsClass, FnPtr <ObjectCallAsConstructorCallback> callAsConstructor)
 => JsObjectMakeConstructor(ctx, jsClass, (IntPtr)callAsConstructor);
Example #9
0
 public static JsValue *JsObjectMakeFunctionWithCallback(JsContext *ctx, JsString *name, FnPtr <ObjectCallAsFunctionCallback> callAsFunction)
 => JsObjectMakeFunctionWithCallback(ctx, name, (IntPtr)callAsFunction);
Example #10
0
 public static void WindowSetResizeCallback([NativeTypeName("ULApp")] Window *window, [NativeTypeName("ULResizeCallback")] FnPtr <ResizeCallback> callback, [NativeTypeName("void *")] void *userData)
 => WindowSetResizeCallback(window, (IntPtr)callback, userData);
Example #11
0
 public static void AppSetUpdateCallback([NativeTypeName("ULApp")] App *app, [NativeTypeName("ULUpdateCallback")] FnPtr <UpdateCallback> callback, [NativeTypeName("void *")] void *userData)
 => AppSetUpdateCallback(app, (IntPtr)callback, userData);