Skip to content

Commit ca2f502

Browse files
Update from slint-ui/slint
Pull web demos and C++/Rust reference docs from commit 57b0f12e0f8448195098000e35a906cf5e59ce74 (refs/heads/master)
1 parent 3e24037 commit ca2f502

File tree

2,960 files changed

+5071
-3758
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,960 files changed

+5071
-3758
lines changed
-4 KB
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
-4 KB
Binary file not shown.

snapshots/master/demos/carousel/pkg/carousel.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ export interface InitOutput {
1313
readonly slint_mock_elapsed_time: (a: bigint) => void;
1414
readonly slint_send_keyboard_char: (a: number, b: number, c: number) => void;
1515
readonly slint_send_mouse_click: (a: number, b: number, c: number) => void;
16+
readonly wasm_bindgen__convert__closures_____invoke__h160682748d1c9a1b: (a: number, b: number, c: any, d: any) => void;
17+
readonly wasm_bindgen__closure__destroy__h069b35a84d28e083: (a: number, b: number) => void;
18+
readonly wasm_bindgen__convert__closures_____invoke__h096b8895cf144360: (a: number, b: number, c: any) => void;
1619
readonly wasm_bindgen__convert__closures_____invoke__h01907b1fc8bf1146: (a: number, b: number, c: any) => void;
17-
readonly wasm_bindgen__closure__destroy__h2f486f5293bbe0fe: (a: number, b: number) => void;
18-
readonly wasm_bindgen__convert__closures_____invoke__h34260fc9537c5611: (a: number, b: number, c: any) => void;
1920
readonly wasm_bindgen__convert__closures_____invoke__h5470d0fd64ffdaa4: (a: number, b: number) => void;
20-
readonly wasm_bindgen__convert__closures_____invoke__h160682748d1c9a1b: (a: number, b: number, c: any, d: any) => void;
2121
readonly __wbindgen_malloc: (a: number, b: number) => number;
2222
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
2323
readonly __externref_table_alloc: () => number;

snapshots/master/demos/carousel/pkg/carousel.js

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -271,20 +271,20 @@ export function main() {
271271
wasm.main();
272272
}
273273

274-
function wasm_bindgen__convert__closures_____invoke__h01907b1fc8bf1146(arg0, arg1, arg2) {
275-
wasm.wasm_bindgen__convert__closures_____invoke__h01907b1fc8bf1146(arg0, arg1, arg2);
274+
function wasm_bindgen__convert__closures_____invoke__h160682748d1c9a1b(arg0, arg1, arg2, arg3) {
275+
wasm.wasm_bindgen__convert__closures_____invoke__h160682748d1c9a1b(arg0, arg1, arg2, arg3);
276276
}
277277

278-
function wasm_bindgen__convert__closures_____invoke__h34260fc9537c5611(arg0, arg1, arg2) {
279-
wasm.wasm_bindgen__convert__closures_____invoke__h34260fc9537c5611(arg0, arg1, arg2);
278+
function wasm_bindgen__convert__closures_____invoke__h096b8895cf144360(arg0, arg1, arg2) {
279+
wasm.wasm_bindgen__convert__closures_____invoke__h096b8895cf144360(arg0, arg1, arg2);
280280
}
281281

282-
function wasm_bindgen__convert__closures_____invoke__h5470d0fd64ffdaa4(arg0, arg1) {
283-
wasm.wasm_bindgen__convert__closures_____invoke__h5470d0fd64ffdaa4(arg0, arg1);
282+
function wasm_bindgen__convert__closures_____invoke__h01907b1fc8bf1146(arg0, arg1, arg2) {
283+
wasm.wasm_bindgen__convert__closures_____invoke__h01907b1fc8bf1146(arg0, arg1, arg2);
284284
}
285285

286-
function wasm_bindgen__convert__closures_____invoke__h160682748d1c9a1b(arg0, arg1, arg2, arg3) {
287-
wasm.wasm_bindgen__convert__closures_____invoke__h160682748d1c9a1b(arg0, arg1, arg2, arg3);
286+
function wasm_bindgen__convert__closures_____invoke__h5470d0fd64ffdaa4(arg0, arg1) {
287+
wasm.wasm_bindgen__convert__closures_____invoke__h5470d0fd64ffdaa4(arg0, arg1);
288288
}
289289

290290
const __wbindgen_enum_ResizeObserverBoxOptions = ["border-box", "content-box", "device-pixel-content-box"];
@@ -1619,67 +1619,67 @@ function __wbg_get_imports() {
16191619
};
16201620
imports.wbg.__wbindgen_cast_23238dd08dd7fcf9 = function(arg0, arg1) {
16211621
// Cast intrinsic for `Closure(Closure { dtor_idx: 203, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 309, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1622-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2f486f5293bbe0fe, wasm_bindgen__convert__closures_____invoke__h160682748d1c9a1b);
1622+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h069b35a84d28e083, wasm_bindgen__convert__closures_____invoke__h160682748d1c9a1b);
16231623
return ret;
16241624
};
16251625
imports.wbg.__wbindgen_cast_3dbc4bf017612e38 = function(arg0, arg1) {
16261626
// Cast intrinsic for `Closure(Closure { dtor_idx: 203, function: Function { arguments: [], shim_idx: 403, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1627-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2f486f5293bbe0fe, wasm_bindgen__convert__closures_____invoke__h5470d0fd64ffdaa4);
1627+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h069b35a84d28e083, wasm_bindgen__convert__closures_____invoke__h5470d0fd64ffdaa4);
16281628
return ret;
16291629
};
16301630
imports.wbg.__wbindgen_cast_44ec55840a9dfe03 = function(arg0, arg1) {
16311631
// Cast intrinsic for `Closure(Closure { dtor_idx: 203, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 401, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1632-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2f486f5293bbe0fe, wasm_bindgen__convert__closures_____invoke__h01907b1fc8bf1146);
1632+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h069b35a84d28e083, wasm_bindgen__convert__closures_____invoke__h01907b1fc8bf1146);
16331633
return ret;
16341634
};
16351635
imports.wbg.__wbindgen_cast_46e4ba6da8d38f54 = function(arg0, arg1) {
16361636
// Cast intrinsic for `Closure(Closure { dtor_idx: 203, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 401, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1637-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2f486f5293bbe0fe, wasm_bindgen__convert__closures_____invoke__h01907b1fc8bf1146);
1637+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h069b35a84d28e083, wasm_bindgen__convert__closures_____invoke__h01907b1fc8bf1146);
16381638
return ret;
16391639
};
16401640
imports.wbg.__wbindgen_cast_50471e941f805978 = function(arg0, arg1) {
16411641
// Cast intrinsic for `Closure(Closure { dtor_idx: 203, function: Function { arguments: [Externref], shim_idx: 401, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1642-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2f486f5293bbe0fe, wasm_bindgen__convert__closures_____invoke__h01907b1fc8bf1146);
1642+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h069b35a84d28e083, wasm_bindgen__convert__closures_____invoke__h01907b1fc8bf1146);
16431643
return ret;
16441644
};
16451645
imports.wbg.__wbindgen_cast_517071d8707c96e1 = function(arg0, arg1) {
16461646
// Cast intrinsic for `Closure(Closure { dtor_idx: 203, function: Function { arguments: [NamedExternref("ClipboardEvent")], shim_idx: 204, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1647-
const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2f486f5293bbe0fe, wasm_bindgen__convert__closures_____invoke__h34260fc9537c5611);
1647+
const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h069b35a84d28e083, wasm_bindgen__convert__closures_____invoke__h096b8895cf144360);
16481648
return ret;
16491649
};
16501650
imports.wbg.__wbindgen_cast_53d940b6fef32862 = function(arg0, arg1) {
16511651
// Cast intrinsic for `Closure(Closure { dtor_idx: 203, function: Function { arguments: [NamedExternref("CompositionEvent")], shim_idx: 204, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1652-
const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2f486f5293bbe0fe, wasm_bindgen__convert__closures_____invoke__h34260fc9537c5611);
1652+
const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h069b35a84d28e083, wasm_bindgen__convert__closures_____invoke__h096b8895cf144360);
16531653
return ret;
16541654
};
16551655
imports.wbg.__wbindgen_cast_5f1a8fc16c1777b5 = function(arg0, arg1) {
16561656
// Cast intrinsic for `Closure(Closure { dtor_idx: 203, function: Function { arguments: [NamedExternref("InputEvent")], shim_idx: 204, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1657-
const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2f486f5293bbe0fe, wasm_bindgen__convert__closures_____invoke__h34260fc9537c5611);
1657+
const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h069b35a84d28e083, wasm_bindgen__convert__closures_____invoke__h096b8895cf144360);
16581658
return ret;
16591659
};
16601660
imports.wbg.__wbindgen_cast_82a712edb0bf6b51 = function(arg0, arg1) {
16611661
// Cast intrinsic for `Closure(Closure { dtor_idx: 203, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 401, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1662-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2f486f5293bbe0fe, wasm_bindgen__convert__closures_____invoke__h01907b1fc8bf1146);
1662+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h069b35a84d28e083, wasm_bindgen__convert__closures_____invoke__h01907b1fc8bf1146);
16631663
return ret;
16641664
};
16651665
imports.wbg.__wbindgen_cast_857d5f44da7dbabc = function(arg0, arg1) {
16661666
// Cast intrinsic for `Closure(Closure { dtor_idx: 203, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 401, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1667-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2f486f5293bbe0fe, wasm_bindgen__convert__closures_____invoke__h01907b1fc8bf1146);
1667+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h069b35a84d28e083, wasm_bindgen__convert__closures_____invoke__h01907b1fc8bf1146);
16681668
return ret;
16691669
};
16701670
imports.wbg.__wbindgen_cast_a3c60e0de353f2e8 = function(arg0, arg1) {
16711671
// Cast intrinsic for `Closure(Closure { dtor_idx: 203, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 204, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1672-
const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2f486f5293bbe0fe, wasm_bindgen__convert__closures_____invoke__h34260fc9537c5611);
1672+
const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h069b35a84d28e083, wasm_bindgen__convert__closures_____invoke__h096b8895cf144360);
16731673
return ret;
16741674
};
16751675
imports.wbg.__wbindgen_cast_c0c0935a17f4e123 = function(arg0, arg1) {
16761676
// Cast intrinsic for `Closure(Closure { dtor_idx: 203, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 401, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1677-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2f486f5293bbe0fe, wasm_bindgen__convert__closures_____invoke__h01907b1fc8bf1146);
1677+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h069b35a84d28e083, wasm_bindgen__convert__closures_____invoke__h01907b1fc8bf1146);
16781678
return ret;
16791679
};
16801680
imports.wbg.__wbindgen_cast_c804ab3d7c65af74 = function(arg0, arg1) {
16811681
// Cast intrinsic for `Closure(Closure { dtor_idx: 203, function: Function { arguments: [NamedExternref("Event")], shim_idx: 401, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1682-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2f486f5293bbe0fe, wasm_bindgen__convert__closures_____invoke__h01907b1fc8bf1146);
1682+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h069b35a84d28e083, wasm_bindgen__convert__closures_____invoke__h01907b1fc8bf1146);
16831683
return ret;
16841684
};
16851685
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
@@ -1694,12 +1694,12 @@ function __wbg_get_imports() {
16941694
};
16951695
imports.wbg.__wbindgen_cast_dfbd13590bbd6394 = function(arg0, arg1) {
16961696
// Cast intrinsic for `Closure(Closure { dtor_idx: 203, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 401, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1697-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2f486f5293bbe0fe, wasm_bindgen__convert__closures_____invoke__h01907b1fc8bf1146);
1697+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h069b35a84d28e083, wasm_bindgen__convert__closures_____invoke__h01907b1fc8bf1146);
16981698
return ret;
16991699
};
17001700
imports.wbg.__wbindgen_cast_eef17ee23c9212b1 = function(arg0, arg1) {
17011701
// Cast intrinsic for `Closure(Closure { dtor_idx: 203, function: Function { arguments: [NamedExternref("Event")], shim_idx: 204, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1702-
const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2f486f5293bbe0fe, wasm_bindgen__convert__closures_____invoke__h34260fc9537c5611);
1702+
const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h069b35a84d28e083, wasm_bindgen__convert__closures_____invoke__h096b8895cf144360);
17031703
return ret;
17041704
};
17051705
imports.wbg.__wbindgen_init_externref_table = function() {
-26 Bytes
Binary file not shown.

snapshots/master/demos/carousel/pkg/carousel_bg.wasm.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ export const slint_get_mocked_time: () => bigint;
88
export const slint_mock_elapsed_time: (a: bigint) => void;
99
export const slint_send_keyboard_char: (a: number, b: number, c: number) => void;
1010
export const slint_send_mouse_click: (a: number, b: number, c: number) => void;
11+
export const wasm_bindgen__convert__closures_____invoke__h160682748d1c9a1b: (a: number, b: number, c: any, d: any) => void;
12+
export const wasm_bindgen__closure__destroy__h069b35a84d28e083: (a: number, b: number) => void;
13+
export const wasm_bindgen__convert__closures_____invoke__h096b8895cf144360: (a: number, b: number, c: any) => void;
1114
export const wasm_bindgen__convert__closures_____invoke__h01907b1fc8bf1146: (a: number, b: number, c: any) => void;
12-
export const wasm_bindgen__closure__destroy__h2f486f5293bbe0fe: (a: number, b: number) => void;
13-
export const wasm_bindgen__convert__closures_____invoke__h34260fc9537c5611: (a: number, b: number, c: any) => void;
1415
export const wasm_bindgen__convert__closures_____invoke__h5470d0fd64ffdaa4: (a: number, b: number) => void;
15-
export const wasm_bindgen__convert__closures_____invoke__h160682748d1c9a1b: (a: number, b: number, c: any, d: any) => void;
1616
export const __wbindgen_malloc: (a: number, b: number) => number;
1717
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
1818
export const __externref_table_alloc: () => number;

snapshots/master/demos/energy-monitor/pkg/energy_monitor.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ export interface InitOutput {
1515
readonly slint_send_mouse_click: (a: number, b: number, c: number) => void;
1616
readonly wasm_bindgen__convert__closures_____invoke__h360f7910b0d231ea: (a: number, b: number, c: any) => void;
1717
readonly wasm_bindgen__closure__destroy__h274a58044b0aee11: (a: number, b: number) => void;
18-
readonly wasm_bindgen__convert__closures_____invoke__h36f3c6ee4af73cc1: (a: number, b: number, c: any) => void;
19-
readonly wasm_bindgen__closure__destroy__h008e30b3a71fee6a: (a: number, b: number) => void;
18+
readonly wasm_bindgen__convert__closures_____invoke__h304859ba4130d4e5: (a: number, b: number, c: any) => void;
19+
readonly wasm_bindgen__closure__destroy__h37833a67c028d743: (a: number, b: number) => void;
2020
readonly wasm_bindgen__convert__closures_____invoke__hb34eb4f90ebbc268: (a: number, b: number) => void;
2121
readonly wasm_bindgen__convert__closures_____invoke__hf1b60cd5e5ffa619: (a: number, b: number, c: any, d: any) => void;
2222
readonly wasm_bindgen__convert__closures_____invoke__ha378674db535775a: (a: number, b: number, c: any) => void;

0 commit comments

Comments
 (0)