Skip to content

Commit 24e9b1b

Browse files
Update from slint-ui/slint
Pull web demos and C++/Rust reference docs from commit 1c3569c021c3741d6d2ba7cde7b48efe5bb12caa (refs/heads/master)
1 parent 702ac7c commit 24e9b1b

File tree

5,043 files changed

+20306
-21016
lines changed

Some content is hidden

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

5,043 files changed

+20306
-21016
lines changed
252 KB
Binary file not shown.
248 KB
Binary file not shown.
256 KB
Binary file not shown.
248 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
@@ -19,10 +19,10 @@ export interface InitOutput {
1919
readonly __wbindgen_malloc: (a: number, b: number) => number;
2020
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
2121
readonly __wbindgen_export_5: WebAssembly.Table;
22-
readonly closure141_externref_shim: (a: number, b: number, c: any) => void;
23-
readonly closure360_externref_shim: (a: number, b: number, c: any) => void;
24-
readonly closure263_externref_shim: (a: number, b: number, c: any, d: any) => void;
22+
readonly closure188_externref_shim: (a: number, b: number, c: any) => void;
2523
readonly wasm_bindgen__convert__closures_____invoke__h0edb6a1aed6dc497: (a: number, b: number) => void;
24+
readonly closure403_externref_shim: (a: number, b: number, c: any) => void;
25+
readonly closure309_externref_shim: (a: number, b: number, c: any, d: any) => void;
2626
readonly __wbindgen_start: () => void;
2727
}
2828

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

Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -271,19 +271,19 @@ export function main() {
271271
}
272272

273273
function __wbg_adapter_6(arg0, arg1, arg2) {
274-
wasm.closure141_externref_shim(arg0, arg1, arg2);
274+
wasm.closure188_externref_shim(arg0, arg1, arg2);
275275
}
276276

277-
function __wbg_adapter_13(arg0, arg1, arg2) {
278-
wasm.closure360_externref_shim(arg0, arg1, arg2);
277+
function __wbg_adapter_9(arg0, arg1) {
278+
wasm.wasm_bindgen__convert__closures_____invoke__h0edb6a1aed6dc497(arg0, arg1);
279279
}
280280

281-
function __wbg_adapter_20(arg0, arg1, arg2, arg3) {
282-
wasm.closure263_externref_shim(arg0, arg1, arg2, arg3);
281+
function __wbg_adapter_12(arg0, arg1, arg2) {
282+
wasm.closure403_externref_shim(arg0, arg1, arg2);
283283
}
284284

285-
function __wbg_adapter_37(arg0, arg1) {
286-
wasm.wasm_bindgen__convert__closures_____invoke__h0edb6a1aed6dc497(arg0, arg1);
285+
function __wbg_adapter_19(arg0, arg1, arg2, arg3) {
286+
wasm.closure309_externref_shim(arg0, arg1, arg2, arg3);
287287
}
288288

289289
const __wbindgen_enum_ResizeObserverBoxOptions = ["border-box", "content-box", "device-pixel-content-box"];
@@ -1617,94 +1617,94 @@ function __wbg_get_imports() {
16171617
const ret = arg0.y;
16181618
return ret;
16191619
};
1620-
imports.wbg.__wbindgen_cast_06f2a708ddf3d234 = function(arg0, arg1) {
1621-
// Cast intrinsic for `Closure(Closure { dtor_idx: 359, function: Function { arguments: [], shim_idx: 362, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1622-
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_37);
1620+
imports.wbg.__wbindgen_cast_12c381b57d7f7a99 = function(arg0, arg1) {
1621+
// Cast intrinsic for `Closure(Closure { dtor_idx: 402, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 403, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1622+
const ret = makeMutClosure(arg0, arg1, 402, __wbg_adapter_12);
16231623
return ret;
16241624
};
1625-
imports.wbg.__wbindgen_cast_11124b29923e506f = function(arg0, arg1) {
1626-
// Cast intrinsic for `Closure(Closure { dtor_idx: 359, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 360, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1627-
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_13);
1625+
imports.wbg.__wbindgen_cast_133df029ba71bb50 = function(arg0, arg1) {
1626+
// Cast intrinsic for `Closure(Closure { dtor_idx: 402, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 403, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1627+
const ret = makeMutClosure(arg0, arg1, 402, __wbg_adapter_12);
16281628
return ret;
16291629
};
16301630
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
16311631
// Cast intrinsic for `Ref(String) -> Externref`.
16321632
const ret = getStringFromWasm0(arg0, arg1);
16331633
return ret;
16341634
};
1635-
imports.wbg.__wbindgen_cast_458dea9904521df8 = function(arg0, arg1) {
1636-
// Cast intrinsic for `Closure(Closure { dtor_idx: 140, function: Function { arguments: [NamedExternref("ClipboardEvent")], shim_idx: 141, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1637-
const ret = makeClosure(arg0, arg1, 140, __wbg_adapter_6);
1638-
return ret;
1639-
};
1640-
imports.wbg.__wbindgen_cast_4d485b152fc207b4 = function(arg0, arg1) {
1641-
// Cast intrinsic for `Closure(Closure { dtor_idx: 359, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 360, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1642-
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_13);
1635+
imports.wbg.__wbindgen_cast_3ea94b905d8aeec9 = function(arg0, arg1) {
1636+
// Cast intrinsic for `Closure(Closure { dtor_idx: 402, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 403, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1637+
const ret = makeMutClosure(arg0, arg1, 402, __wbg_adapter_12);
16431638
return ret;
16441639
};
1645-
imports.wbg.__wbindgen_cast_59ba1ff736dce1bd = function(arg0, arg1) {
1646-
// Cast intrinsic for `Closure(Closure { dtor_idx: 359, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 360, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1647-
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_13);
1640+
imports.wbg.__wbindgen_cast_471596b4aadac2ad = function(arg0, arg1) {
1641+
// Cast intrinsic for `Closure(Closure { dtor_idx: 187, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 188, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1642+
const ret = makeClosure(arg0, arg1, 187, __wbg_adapter_6);
16481643
return ret;
16491644
};
1650-
imports.wbg.__wbindgen_cast_7b8fdef4d8631a4c = function(arg0, arg1) {
1651-
// Cast intrinsic for `Closure(Closure { dtor_idx: 359, function: Function { arguments: [NamedExternref("Event")], shim_idx: 360, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1652-
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_13);
1645+
imports.wbg.__wbindgen_cast_618d89a83afe6407 = function(arg0, arg1) {
1646+
// Cast intrinsic for `Closure(Closure { dtor_idx: 187, function: Function { arguments: [NamedExternref("ClipboardEvent")], shim_idx: 188, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1647+
const ret = makeClosure(arg0, arg1, 187, __wbg_adapter_6);
16531648
return ret;
16541649
};
1655-
imports.wbg.__wbindgen_cast_83fc410701f32151 = function(arg0, arg1) {
1656-
// Cast intrinsic for `Closure(Closure { dtor_idx: 140, function: Function { arguments: [NamedExternref("CompositionEvent")], shim_idx: 141, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1657-
const ret = makeClosure(arg0, arg1, 140, __wbg_adapter_6);
1650+
imports.wbg.__wbindgen_cast_68c84a4357e3528f = function(arg0, arg1) {
1651+
// Cast intrinsic for `Closure(Closure { dtor_idx: 187, function: Function { arguments: [NamedExternref("InputEvent")], shim_idx: 188, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1652+
const ret = makeClosure(arg0, arg1, 187, __wbg_adapter_6);
16581653
return ret;
16591654
};
1660-
imports.wbg.__wbindgen_cast_86adf6ceb55decb6 = function(arg0, arg1) {
1661-
// Cast intrinsic for `Closure(Closure { dtor_idx: 359, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 360, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1662-
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_13);
1655+
imports.wbg.__wbindgen_cast_806ac815baa2eac8 = function(arg0, arg1) {
1656+
// Cast intrinsic for `Closure(Closure { dtor_idx: 402, function: Function { arguments: [], shim_idx: 405, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1657+
const ret = makeMutClosure(arg0, arg1, 402, __wbg_adapter_9);
16631658
return ret;
16641659
};
1665-
imports.wbg.__wbindgen_cast_905d5cabd6d315b1 = function(arg0, arg1) {
1666-
// Cast intrinsic for `Closure(Closure { dtor_idx: 140, function: Function { arguments: [NamedExternref("Event")], shim_idx: 141, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1667-
const ret = makeClosure(arg0, arg1, 140, __wbg_adapter_6);
1660+
imports.wbg.__wbindgen_cast_9228a8947e977656 = function(arg0, arg1) {
1661+
// Cast intrinsic for `Closure(Closure { dtor_idx: 402, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 403, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1662+
const ret = makeMutClosure(arg0, arg1, 402, __wbg_adapter_12);
16681663
return ret;
16691664
};
1670-
imports.wbg.__wbindgen_cast_9068fae8b712ae2a = function(arg0, arg1) {
1671-
// Cast intrinsic for `Closure(Closure { dtor_idx: 140, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 141, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1672-
const ret = makeClosure(arg0, arg1, 140, __wbg_adapter_6);
1665+
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
1666+
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
1667+
const ret = getArrayU8FromWasm0(arg0, arg1);
16731668
return ret;
16741669
};
1675-
imports.wbg.__wbindgen_cast_a2c2205e1ae48a8f = function(arg0, arg1) {
1676-
// Cast intrinsic for `Closure(Closure { dtor_idx: 359, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 360, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1677-
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_13);
1670+
imports.wbg.__wbindgen_cast_ce1a3e187c781504 = function(arg0, arg1) {
1671+
// Cast intrinsic for `Closure(Closure { dtor_idx: 402, function: Function { arguments: [NamedExternref("Event")], shim_idx: 403, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1672+
const ret = makeMutClosure(arg0, arg1, 402, __wbg_adapter_12);
16781673
return ret;
16791674
};
1680-
imports.wbg.__wbindgen_cast_a4b07f0cae6fd903 = function(arg0, arg1) {
1681-
// Cast intrinsic for `Closure(Closure { dtor_idx: 140, function: Function { arguments: [NamedExternref("InputEvent")], shim_idx: 141, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1682-
const ret = makeClosure(arg0, arg1, 140, __wbg_adapter_6);
1675+
imports.wbg.__wbindgen_cast_d20c80349627b9d4 = function(arg0, arg1) {
1676+
// Cast intrinsic for `Closure(Closure { dtor_idx: 402, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 403, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1677+
const ret = makeMutClosure(arg0, arg1, 402, __wbg_adapter_12);
16831678
return ret;
16841679
};
1685-
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
1686-
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
1687-
const ret = getArrayU8FromWasm0(arg0, arg1);
1680+
imports.wbg.__wbindgen_cast_d4576f43ed734aa0 = function(arg0, arg1) {
1681+
// Cast intrinsic for `Closure(Closure { dtor_idx: 187, function: Function { arguments: [NamedExternref("CompositionEvent")], shim_idx: 188, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1682+
const ret = makeClosure(arg0, arg1, 187, __wbg_adapter_6);
16881683
return ret;
16891684
};
1690-
imports.wbg.__wbindgen_cast_d0e39eb22beaa3f2 = function(arg0, arg1) {
1691-
// Cast intrinsic for `Closure(Closure { dtor_idx: 359, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 360, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1692-
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_13);
1685+
imports.wbg.__wbindgen_cast_d4ff28f80d43f797 = function(arg0, arg1) {
1686+
// Cast intrinsic for `Closure(Closure { dtor_idx: 402, function: Function { arguments: [Externref], shim_idx: 403, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1687+
const ret = makeMutClosure(arg0, arg1, 402, __wbg_adapter_12);
16931688
return ret;
16941689
};
16951690
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
16961691
// Cast intrinsic for `F64 -> Externref`.
16971692
const ret = arg0;
16981693
return ret;
16991694
};
1700-
imports.wbg.__wbindgen_cast_e424aac48c10ba33 = function(arg0, arg1) {
1701-
// Cast intrinsic for `Closure(Closure { dtor_idx: 359, function: Function { arguments: [Externref], shim_idx: 360, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1702-
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_13);
1695+
imports.wbg.__wbindgen_cast_df6a0cedd8a2edfb = function(arg0, arg1) {
1696+
// Cast intrinsic for `Closure(Closure { dtor_idx: 187, function: Function { arguments: [NamedExternref("Event")], shim_idx: 188, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1697+
const ret = makeClosure(arg0, arg1, 187, __wbg_adapter_6);
1698+
return ret;
1699+
};
1700+
imports.wbg.__wbindgen_cast_eb9226988c8f97bd = function(arg0, arg1) {
1701+
// Cast intrinsic for `Closure(Closure { dtor_idx: 402, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 403, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1702+
const ret = makeMutClosure(arg0, arg1, 402, __wbg_adapter_12);
17031703
return ret;
17041704
};
1705-
imports.wbg.__wbindgen_cast_fa9489d8e28119af = function(arg0, arg1) {
1706-
// Cast intrinsic for `Closure(Closure { dtor_idx: 359, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 263, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1707-
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_20);
1705+
imports.wbg.__wbindgen_cast_f40437c902d9d589 = function(arg0, arg1) {
1706+
// Cast intrinsic for `Closure(Closure { dtor_idx: 402, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 309, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1707+
const ret = makeMutClosure(arg0, arg1, 402, __wbg_adapter_19);
17081708
return ret;
17091709
};
17101710
imports.wbg.__wbindgen_init_externref_table = function() {
382 KB
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
@@ -14,8 +14,8 @@ export const __wbindgen_exn_store: (a: number) => void;
1414
export const __wbindgen_malloc: (a: number, b: number) => number;
1515
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
1616
export const __wbindgen_export_5: WebAssembly.Table;
17-
export const closure141_externref_shim: (a: number, b: number, c: any) => void;
18-
export const closure360_externref_shim: (a: number, b: number, c: any) => void;
19-
export const closure263_externref_shim: (a: number, b: number, c: any, d: any) => void;
17+
export const closure188_externref_shim: (a: number, b: number, c: any) => void;
2018
export const wasm_bindgen__convert__closures_____invoke__h0edb6a1aed6dc497: (a: number, b: number) => void;
19+
export const closure403_externref_shim: (a: number, b: number, c: any) => void;
20+
export const closure309_externref_shim: (a: number, b: number, c: any, d: any) => void;
2121
export const __wbindgen_start: () => void;

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ export interface InitOutput {
1919
readonly __wbindgen_malloc: (a: number, b: number) => number;
2020
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
2121
readonly __wbindgen_export_5: WebAssembly.Table;
22-
readonly closure3728_externref_shim: (a: number, b: number, c: any) => void;
23-
readonly closure3319_externref_shim: (a: number, b: number, c: any) => void;
24-
readonly closure3729_externref_shim: (a: number, b: number, c: any, d: any) => void;
25-
readonly closure3791_externref_shim: (a: number, b: number, c: any) => void;
22+
readonly closure3472_externref_shim: (a: number, b: number, c: any) => void;
23+
readonly closure3732_externref_shim: (a: number, b: number, c: any) => void;
24+
readonly closure3795_externref_shim: (a: number, b: number, c: any) => void;
2625
readonly wasm_bindgen__convert__closures_____invoke__h2df447169abbed51: (a: number, b: number) => void;
26+
readonly closure3733_externref_shim: (a: number, b: number, c: any, d: any) => void;
2727
readonly __wbindgen_start: () => void;
2828
}
2929

0 commit comments

Comments
 (0)