Skip to content

Commit 334a290

Browse files
Update from slint-ui/slint
Pull web demos and C++/Rust reference docs from commit ea0d0be0325f505c0c885f9f60aadf4b0da12a36 (refs/heads/master)
1 parent 648f09c commit 334a290

File tree

2,978 files changed

+6168
-6811
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,978 files changed

+6168
-6811
lines changed
4 KB
Binary file not shown.
4 KB
Binary file not shown.
4 KB
Binary file not shown.
8 KB
Binary file not shown.
0 Bytes
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__h152f250a077f5c46: (a: number, b: number) => void;
17+
readonly wasm_bindgen__closure__destroy__h071833b1b3bf399c: (a: number, b: number) => void;
1618
readonly wasm_bindgen__convert__closures_____invoke__h38c6b9d56edf6904: (a: number, b: number, c: any) => void;
17-
readonly wasm_bindgen__closure__destroy__h24db093f18a420ea: (a: number, b: number) => void;
19+
readonly wasm_bindgen__convert__closures_____invoke__h5f6ba7af5ff3f93b: (a: number, b: number, c: any) => void;
1820
readonly wasm_bindgen__convert__closures_____invoke__h1bf32ca51724f862: (a: number, b: number, c: any, d: any) => void;
19-
readonly wasm_bindgen__convert__closures_____invoke__h2e517d8efbb347e2: (a: number, b: number, c: any) => void;
20-
readonly wasm_bindgen__convert__closures_____invoke__h152f250a077f5c46: (a: number, b: number) => 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__h38c6b9d56edf6904(arg0, arg1, arg2) {
275-
wasm.wasm_bindgen__convert__closures_____invoke__h38c6b9d56edf6904(arg0, arg1, arg2);
274+
function wasm_bindgen__convert__closures_____invoke__h152f250a077f5c46(arg0, arg1) {
275+
wasm.wasm_bindgen__convert__closures_____invoke__h152f250a077f5c46(arg0, arg1);
276276
}
277277

278-
function wasm_bindgen__convert__closures_____invoke__h1bf32ca51724f862(arg0, arg1, arg2, arg3) {
279-
wasm.wasm_bindgen__convert__closures_____invoke__h1bf32ca51724f862(arg0, arg1, arg2, arg3);
278+
function wasm_bindgen__convert__closures_____invoke__h38c6b9d56edf6904(arg0, arg1, arg2) {
279+
wasm.wasm_bindgen__convert__closures_____invoke__h38c6b9d56edf6904(arg0, arg1, arg2);
280280
}
281281

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

286-
function wasm_bindgen__convert__closures_____invoke__h152f250a077f5c46(arg0, arg1) {
287-
wasm.wasm_bindgen__convert__closures_____invoke__h152f250a077f5c46(arg0, arg1);
286+
function wasm_bindgen__convert__closures_____invoke__h1bf32ca51724f862(arg0, arg1, arg2, arg3) {
287+
wasm.wasm_bindgen__convert__closures_____invoke__h1bf32ca51724f862(arg0, arg1, arg2, arg3);
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__h24db093f18a420ea, wasm_bindgen__convert__closures_____invoke__h1bf32ca51724f862);
1622+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h071833b1b3bf399c, wasm_bindgen__convert__closures_____invoke__h1bf32ca51724f862);
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__h24db093f18a420ea, wasm_bindgen__convert__closures_____invoke__h152f250a077f5c46);
1627+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h071833b1b3bf399c, wasm_bindgen__convert__closures_____invoke__h152f250a077f5c46);
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__h24db093f18a420ea, wasm_bindgen__convert__closures_____invoke__h38c6b9d56edf6904);
1632+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h071833b1b3bf399c, wasm_bindgen__convert__closures_____invoke__h38c6b9d56edf6904);
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__h24db093f18a420ea, wasm_bindgen__convert__closures_____invoke__h38c6b9d56edf6904);
1637+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h071833b1b3bf399c, wasm_bindgen__convert__closures_____invoke__h38c6b9d56edf6904);
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__h24db093f18a420ea, wasm_bindgen__convert__closures_____invoke__h38c6b9d56edf6904);
1642+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h071833b1b3bf399c, wasm_bindgen__convert__closures_____invoke__h38c6b9d56edf6904);
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__h24db093f18a420ea, wasm_bindgen__convert__closures_____invoke__h2e517d8efbb347e2);
1647+
const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h071833b1b3bf399c, wasm_bindgen__convert__closures_____invoke__h5f6ba7af5ff3f93b);
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__h24db093f18a420ea, wasm_bindgen__convert__closures_____invoke__h2e517d8efbb347e2);
1652+
const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h071833b1b3bf399c, wasm_bindgen__convert__closures_____invoke__h5f6ba7af5ff3f93b);
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__h24db093f18a420ea, wasm_bindgen__convert__closures_____invoke__h2e517d8efbb347e2);
1657+
const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h071833b1b3bf399c, wasm_bindgen__convert__closures_____invoke__h5f6ba7af5ff3f93b);
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__h24db093f18a420ea, wasm_bindgen__convert__closures_____invoke__h38c6b9d56edf6904);
1662+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h071833b1b3bf399c, wasm_bindgen__convert__closures_____invoke__h38c6b9d56edf6904);
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__h24db093f18a420ea, wasm_bindgen__convert__closures_____invoke__h38c6b9d56edf6904);
1667+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h071833b1b3bf399c, wasm_bindgen__convert__closures_____invoke__h38c6b9d56edf6904);
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__h24db093f18a420ea, wasm_bindgen__convert__closures_____invoke__h2e517d8efbb347e2);
1672+
const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h071833b1b3bf399c, wasm_bindgen__convert__closures_____invoke__h5f6ba7af5ff3f93b);
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__h24db093f18a420ea, wasm_bindgen__convert__closures_____invoke__h38c6b9d56edf6904);
1677+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h071833b1b3bf399c, wasm_bindgen__convert__closures_____invoke__h38c6b9d56edf6904);
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__h24db093f18a420ea, wasm_bindgen__convert__closures_____invoke__h38c6b9d56edf6904);
1682+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h071833b1b3bf399c, wasm_bindgen__convert__closures_____invoke__h38c6b9d56edf6904);
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__h24db093f18a420ea, wasm_bindgen__convert__closures_____invoke__h38c6b9d56edf6904);
1697+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h071833b1b3bf399c, wasm_bindgen__convert__closures_____invoke__h38c6b9d56edf6904);
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__h24db093f18a420ea, wasm_bindgen__convert__closures_____invoke__h2e517d8efbb347e2);
1702+
const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h071833b1b3bf399c, wasm_bindgen__convert__closures_____invoke__h5f6ba7af5ff3f93b);
17031703
return ret;
17041704
};
17051705
imports.wbg.__wbindgen_init_externref_table = function() {
121 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__h152f250a077f5c46: (a: number, b: number) => void;
12+
export const wasm_bindgen__closure__destroy__h071833b1b3bf399c: (a: number, b: number) => void;
1113
export const wasm_bindgen__convert__closures_____invoke__h38c6b9d56edf6904: (a: number, b: number, c: any) => void;
12-
export const wasm_bindgen__closure__destroy__h24db093f18a420ea: (a: number, b: number) => void;
14+
export const wasm_bindgen__convert__closures_____invoke__h5f6ba7af5ff3f93b: (a: number, b: number, c: any) => void;
1315
export const wasm_bindgen__convert__closures_____invoke__h1bf32ca51724f862: (a: number, b: number, c: any, d: any) => void;
14-
export const wasm_bindgen__convert__closures_____invoke__h2e517d8efbb347e2: (a: number, b: number, c: any) => void;
15-
export const wasm_bindgen__convert__closures_____invoke__h152f250a077f5c46: (a: number, b: number) => 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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ 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__h0b61a7b805e8e04a: (a: number, b: number, c: any) => void;
16+
readonly wasm_bindgen__convert__closures_____invoke__hc49d7f98fb826335: (a: number, b: number, c: any, d: any) => void;
1717
readonly wasm_bindgen__closure__destroy__h0850109999a27cab: (a: number, b: number) => void;
18-
readonly wasm_bindgen__convert__closures_____invoke__h0edb15ddbabb37e0: (a: number, b: number, c: any) => void;
19-
readonly wasm_bindgen__closure__destroy__h25e3207015e91029: (a: number, b: number) => void;
18+
readonly wasm_bindgen__convert__closures_____invoke__h0b61a7b805e8e04a: (a: number, b: number, c: any) => void;
2019
readonly wasm_bindgen__convert__closures_____invoke__h092ca352a5b06aa9: (a: number, b: number) => void;
21-
readonly wasm_bindgen__convert__closures_____invoke__hc49d7f98fb826335: (a: number, b: number, c: any, d: any) => void;
2220
readonly wasm_bindgen__convert__closures_____invoke__h2668ed85e1e78dba: (a: number, b: number, c: any) => void;
2321
readonly wasm_bindgen__closure__destroy__he1481d84f2667f22: (a: number, b: number) => void;
22+
readonly wasm_bindgen__convert__closures_____invoke__h77d9e6262358555c: (a: number, b: number, c: any) => void;
23+
readonly wasm_bindgen__closure__destroy__h5456df6228a19f25: (a: number, b: number) => void;
2424
readonly __wbindgen_malloc: (a: number, b: number) => number;
2525
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
2626
readonly __externref_table_alloc: () => number;

0 commit comments

Comments
 (0)