Skip to content

Commit

Permalink
Update from slint-ui/slint
Browse files Browse the repository at this point in the history
Pull web demos and C++/Rust reference docs from commit 386710cd6d31193e03e4215abc2dc14a5cb0a214 (refs/heads/master)
  • Loading branch information
slint-team[bot] committed Sep 6, 2024
1 parent 94da908 commit 6b22f4f
Show file tree
Hide file tree
Showing 285 changed files with 3,978 additions and 3,978 deletions.
Binary file modified snapshots/master/demos/android/energy-monitor.apk
Binary file not shown.
Binary file modified snapshots/master/demos/android/todo_lib.apk
Binary file not shown.
8 changes: 4 additions & 4 deletions snapshots/master/demos/carousel/pkg/carousel.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ export interface InitOutput {
readonly __wbindgen_malloc: (a: number, b: number) => number;
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
readonly __wbindgen_export_2: WebAssembly.Table;
readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h07ef8824361d9ba2: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h098d8f30f40ca849: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he619b95dde3983c1: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbc3c45c665e2b94c: (a: number, b: number, c: number, d: number) => void;
readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h13fac83fc22a93c8: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1768b638010c4add: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h497999703583f3ec: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7d579fdc6f9c4cd1: (a: number, b: number, c: number, d: number) => void;
readonly __wbindgen_exn_store: (a: number) => void;
readonly __wbindgen_start: () => void;
}
Expand Down
496 changes: 248 additions & 248 deletions snapshots/master/demos/carousel/pkg/carousel.js

Large diffs are not rendered by default.

Binary file modified snapshots/master/demos/carousel/pkg/carousel_bg.wasm
Binary file not shown.
8 changes: 4 additions & 4 deletions snapshots/master/demos/carousel/pkg/carousel_bg.wasm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ export function send_keyboard_string_sequence(a: number, b: number): void;
export function __wbindgen_malloc(a: number, b: number): number;
export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number;
export const __wbindgen_export_2: WebAssembly.Table;
export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h07ef8824361d9ba2(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h098d8f30f40ca849(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he619b95dde3983c1(a: number, b: number): void;
export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbc3c45c665e2b94c(a: number, b: number, c: number, d: number): void;
export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h13fac83fc22a93c8(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1768b638010c4add(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h497999703583f3ec(a: number, b: number): void;
export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7d579fdc6f9c4cd1(a: number, b: number, c: number, d: number): void;
export function __wbindgen_exn_store(a: number): void;
export function __wbindgen_start(): void;
10 changes: 5 additions & 5 deletions snapshots/master/demos/energy-monitor/pkg/energy_monitor.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ export interface InitOutput {
readonly __wbindgen_malloc: (a: number, b: number) => number;
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
readonly __wbindgen_export_2: WebAssembly.Table;
readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h20f3ef7febac48da: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0071ef033b4b5ffa: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb31d543ebeae0d4a: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0644d3a58f6c0e70: (a: number, b: number, c: number, d: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h56addc976c5f4662: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5e1ed11aaee696be: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1064f79823735323: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb41086271678a4a4: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8c8da05004a789ac: (a: number, b: number, c: number, d: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8ed84b3e340ce02d: (a: number, b: number, c: number) => void;
readonly __wbindgen_exn_store: (a: number) => void;
readonly __wbindgen_start: () => void;
}
Expand Down
150 changes: 75 additions & 75 deletions snapshots/master/demos/energy-monitor/pkg/energy_monitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ function makeClosure(arg0, arg1, dtor, f) {
return real;
}
function __wbg_adapter_26(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h20f3ef7febac48da(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5e1ed11aaee696be(arg0, arg1, addHeapObject(arg2));
}

function makeMutClosure(arg0, arg1, dtor, f) {
Expand Down Expand Up @@ -237,19 +237,19 @@ function makeMutClosure(arg0, arg1, dtor, f) {
return real;
}
function __wbg_adapter_37(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0071ef033b4b5ffa(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1064f79823735323(arg0, arg1, addHeapObject(arg2));
}

function __wbg_adapter_40(arg0, arg1) {
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb31d543ebeae0d4a(arg0, arg1);
function __wbg_adapter_42(arg0, arg1) {
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb41086271678a4a4(arg0, arg1);
}

function __wbg_adapter_55(arg0, arg1, arg2, arg3) {
wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0644d3a58f6c0e70(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8c8da05004a789ac(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
}

function __wbg_adapter_58(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h56addc976c5f4662(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8ed84b3e340ce02d(arg0, arg1, addHeapObject(arg2));
}

/**
Expand Down Expand Up @@ -368,34 +368,24 @@ function __wbg_get_imports() {
const ret = false;
return ret;
};
imports.wbg.__wbg_offsetX_294898d040917c6b = function(arg0) {
const ret = getObject(arg0).offsetX;
return ret;
};
imports.wbg.__wbg_offsetY_f484804b7b03dd86 = function(arg0) {
const ret = getObject(arg0).offsetY;
return ret;
};
imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) {
const ret = getObject(arg0).getCoalescedEvents;
return addHeapObject(ret);
imports.wbg.__wbg_cancel_cba86749f45f30ae = function(arg0) {
getObject(arg0).cancel();
};
imports.wbg.__wbg_prototype_d33365945f23f380 = function() {
const ret = ResizeObserverEntry.prototype;
imports.wbg.__wbg_animate_b321da85ed3f2b4a = function(arg0, arg1, arg2) {
const ret = getObject(arg0).animate(getObject(arg1), getObject(arg2));
return addHeapObject(ret);
};
imports.wbg.__wbindgen_is_undefined = function(arg0) {
const ret = getObject(arg0) === undefined;
return ret;
};
imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) {
const ret = getObject(arg0).Window;
return addHeapObject(ret);
imports.wbg.__wbg_play_5896e5851ba90aa2 = function(arg0) {
getObject(arg0).play();
};
imports.wbg.__wbg_scheduler_7ccf2d3b362018c4 = function(arg0) {
const ret = getObject(arg0).scheduler;
return addHeapObject(ret);
};
imports.wbg.__wbg_prototype_d33365945f23f380 = function() {
const ret = ResizeObserverEntry.prototype;
return addHeapObject(ret);
};
imports.wbg.__wbg_scheduler_f38a681d98b5a776 = function(arg0) {
const ret = getObject(arg0).scheduler;
return addHeapObject(ret);
Expand All @@ -408,23 +398,6 @@ function __wbg_get_imports() {
const ret = getObject(arg0).postTask(getObject(arg1), getObject(arg2));
return addHeapObject(ret);
};
imports.wbg.__wbg_cancel_cba86749f45f30ae = function(arg0) {
getObject(arg0).cancel();
};
imports.wbg.__wbg_animate_b321da85ed3f2b4a = function(arg0, arg1, arg2) {
const ret = getObject(arg0).animate(getObject(arg1), getObject(arg2));
return addHeapObject(ret);
};
imports.wbg.__wbg_play_5896e5851ba90aa2 = function(arg0) {
getObject(arg0).play();
};
imports.wbg.__wbg_brand_cdcf0249d44027a8 = function(arg0, arg1) {
const ret = getObject(arg1).brand;
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len1 = WASM_VECTOR_LEN;
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
};
imports.wbg.__wbg_userAgentData_85a8393570ab7dee = function(arg0) {
const ret = getObject(arg0).userAgentData;
return isLikeNone(ret) ? 0 : addHeapObject(ret);
Expand All @@ -433,14 +406,34 @@ function __wbg_get_imports() {
const ret = getObject(arg0).brands;
return addHeapObject(ret);
};
imports.wbg.__wbg_requestFullscreen_24891df6120b675d = function(arg0) {
const ret = getObject(arg0).requestFullscreen();
return addHeapObject(ret);
};
imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) {
const ret = getObject(arg0).getCoalescedEvents;
return addHeapObject(ret);
};
imports.wbg.__wbindgen_is_undefined = function(arg0) {
const ret = getObject(arg0) === undefined;
return ret;
};
imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) {
const ret = getObject(arg0).requestFullscreen;
return addHeapObject(ret);
};
imports.wbg.__wbg_requestFullscreen_24891df6120b675d = function(arg0) {
const ret = getObject(arg0).requestFullscreen();
imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) {
const ret = getObject(arg0).Window;
return addHeapObject(ret);
};
imports.wbg.__wbg_offsetX_294898d040917c6b = function(arg0) {
const ret = getObject(arg0).offsetX;
return ret;
};
imports.wbg.__wbg_offsetY_f484804b7b03dd86 = function(arg0) {
const ret = getObject(arg0).offsetY;
return ret;
};
imports.wbg.__wbg_webkitRequestFullscreen_42ba1c34171febc6 = function(arg0) {
getObject(arg0).webkitRequestFullscreen();
};
Expand All @@ -451,6 +444,13 @@ function __wbg_get_imports() {
imports.wbg.__wbg_webkitExitFullscreen_77a6c8d07ec6ee46 = function(arg0) {
getObject(arg0).webkitExitFullscreen();
};
imports.wbg.__wbg_brand_cdcf0249d44027a8 = function(arg0, arg1) {
const ret = getObject(arg1).brand;
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len1 = WASM_VECTOR_LEN;
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
};
imports.wbg.__wbg_queueMicrotask_12a30234db4045d3 = function(arg0) {
queueMicrotask(getObject(arg0));
};
Expand Down Expand Up @@ -1677,64 +1677,64 @@ function __wbg_get_imports() {
const ret = wasm.memory;
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper7734 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3499, __wbg_adapter_26);
imports.wbg.__wbindgen_closure_wrapper7904 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3511, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper7736 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3499, __wbg_adapter_26);
imports.wbg.__wbindgen_closure_wrapper7906 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3511, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper7738 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3499, __wbg_adapter_26);
imports.wbg.__wbindgen_closure_wrapper7908 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3511, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper7740 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3499, __wbg_adapter_26);
imports.wbg.__wbindgen_closure_wrapper7910 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3511, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper7742 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3499, __wbg_adapter_26);
imports.wbg.__wbindgen_closure_wrapper7912 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3511, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9170 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3960, __wbg_adapter_37);
imports.wbg.__wbindgen_closure_wrapper9360 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4002, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9172 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3960, __wbg_adapter_40);
imports.wbg.__wbindgen_closure_wrapper9362 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4002, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9176 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3960, __wbg_adapter_37);
imports.wbg.__wbindgen_closure_wrapper9364 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4002, __wbg_adapter_42);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9178 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3960, __wbg_adapter_37);
imports.wbg.__wbindgen_closure_wrapper9367 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4002, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9180 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3960, __wbg_adapter_37);
imports.wbg.__wbindgen_closure_wrapper9369 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4002, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9184 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3960, __wbg_adapter_37);
imports.wbg.__wbindgen_closure_wrapper9372 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4002, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9186 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3960, __wbg_adapter_37);
imports.wbg.__wbindgen_closure_wrapper9375 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4002, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9198 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3960, __wbg_adapter_37);
imports.wbg.__wbindgen_closure_wrapper9385 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4002, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9205 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3960, __wbg_adapter_55);
imports.wbg.__wbindgen_closure_wrapper9400 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4002, __wbg_adapter_55);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9852 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3992, __wbg_adapter_58);
imports.wbg.__wbindgen_closure_wrapper10066 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4047, __wbg_adapter_58);
return addHeapObject(ret);
};

Expand Down
Binary file modified snapshots/master/demos/energy-monitor/pkg/energy_monitor_bg.wasm
Binary file not shown.
Loading

0 comments on commit 6b22f4f

Please sign in to comment.