Skip to content

Commit c10b996

Browse files
Update from slint-ui/slint
Pull web demos and C++/Rust reference docs from commit b627b66168c78cf4e87f5af1440a127d11ae47e0 (refs/heads/master)
1 parent 9ccee3d commit c10b996

File tree

2,987 files changed

+5964
-5209
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,987 files changed

+5964
-5209
lines changed
-8 KB
Binary file not shown.
-8 KB
Binary file not shown.
-8 KB
Binary file not shown.
-12 KB
Binary file not shown.

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

Lines changed: 4 additions & 4 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 closure404_externref_shim: (a: number, b: number, c: any) => void;
23-
readonly closure206_externref_shim: (a: number, b: number, c: any) => void;
24-
readonly closure310_externref_shim: (a: number, b: number, c: any, d: any) => void;
25-
readonly wasm_bindgen__convert__closures_____invoke__h0edb6a1aed6dc497: (a: number, b: number) => void;
22+
readonly closure402_externref_shim: (a: number, b: number, c: any) => void;
23+
readonly closure204_externref_shim: (a: number, b: number, c: any) => void;
24+
readonly wasm_bindgen__convert__closures_____invoke__h1c28e1d9555bb37c: (a: number, b: number) => void;
25+
readonly closure308_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: 58 additions & 58 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.closure404_externref_shim(arg0, arg1, arg2);
274+
wasm.closure402_externref_shim(arg0, arg1, arg2);
275275
}
276276

277-
function __wbg_adapter_15(arg0, arg1, arg2) {
278-
wasm.closure206_externref_shim(arg0, arg1, arg2);
277+
function __wbg_adapter_17(arg0, arg1, arg2) {
278+
wasm.closure204_externref_shim(arg0, arg1, arg2);
279279
}
280280

281-
function __wbg_adapter_26(arg0, arg1, arg2, arg3) {
282-
wasm.closure310_externref_shim(arg0, arg1, arg2, arg3);
281+
function __wbg_adapter_30(arg0, arg1) {
282+
wasm.wasm_bindgen__convert__closures_____invoke__h1c28e1d9555bb37c(arg0, arg1);
283283
}
284284

285-
function __wbg_adapter_33(arg0, arg1) {
286-
wasm.wasm_bindgen__convert__closures_____invoke__h0edb6a1aed6dc497(arg0, arg1);
285+
function __wbg_adapter_41(arg0, arg1, arg2, arg3) {
286+
wasm.closure308_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_173b168fabcebbda = function(arg0, arg1) {
1621+
// Cast intrinsic for `Closure(Closure { dtor_idx: 401, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 402, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1622+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_6);
1623+
return ret;
1624+
};
16201625
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
16211626
// Cast intrinsic for `Ref(String) -> Externref`.
16221627
const ret = getStringFromWasm0(arg0, arg1);
16231628
return ret;
16241629
};
1625-
imports.wbg.__wbindgen_cast_272c4075dc6c14eb = function(arg0, arg1) {
1626-
// Cast intrinsic for `Closure(Closure { dtor_idx: 403, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 404, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1627-
const ret = makeMutClosure(arg0, arg1, 403, __wbg_adapter_6);
1630+
imports.wbg.__wbindgen_cast_4992e0f004b2258f = function(arg0, arg1) {
1631+
// Cast intrinsic for `Closure(Closure { dtor_idx: 401, function: Function { arguments: [Externref], shim_idx: 402, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1632+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_6);
1633+
return ret;
1634+
};
1635+
imports.wbg.__wbindgen_cast_517071d8707c96e1 = function(arg0, arg1) {
1636+
// 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`.
1637+
const ret = makeClosure(arg0, arg1, 203, __wbg_adapter_17);
16281638
return ret;
16291639
};
1630-
imports.wbg.__wbindgen_cast_3a03f8fb675e28dc = function(arg0, arg1) {
1631-
// Cast intrinsic for `Closure(Closure { dtor_idx: 205, function: Function { arguments: [NamedExternref("Event")], shim_idx: 206, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1632-
const ret = makeClosure(arg0, arg1, 205, __wbg_adapter_15);
1640+
imports.wbg.__wbindgen_cast_53d940b6fef32862 = function(arg0, arg1) {
1641+
// 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`.
1642+
const ret = makeClosure(arg0, arg1, 203, __wbg_adapter_17);
16331643
return ret;
16341644
};
1635-
imports.wbg.__wbindgen_cast_3b220700d3f9b5fb = function(arg0, arg1) {
1636-
// Cast intrinsic for `Closure(Closure { dtor_idx: 205, function: Function { arguments: [NamedExternref("CompositionEvent")], shim_idx: 206, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1637-
const ret = makeClosure(arg0, arg1, 205, __wbg_adapter_15);
1645+
imports.wbg.__wbindgen_cast_5f1a8fc16c1777b5 = function(arg0, arg1) {
1646+
// 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`.
1647+
const ret = makeClosure(arg0, arg1, 203, __wbg_adapter_17);
16381648
return ret;
16391649
};
1640-
imports.wbg.__wbindgen_cast_509cdf7c7b32af8c = function(arg0, arg1) {
1641-
// Cast intrinsic for `Closure(Closure { dtor_idx: 403, function: Function { arguments: [Externref], shim_idx: 404, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1642-
const ret = makeMutClosure(arg0, arg1, 403, __wbg_adapter_6);
1650+
imports.wbg.__wbindgen_cast_738a85efee63049e = function(arg0, arg1) {
1651+
// Cast intrinsic for `Closure(Closure { dtor_idx: 401, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 402, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1652+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_6);
16431653
return ret;
16441654
};
1645-
imports.wbg.__wbindgen_cast_7c87f3ef1af54144 = function(arg0, arg1) {
1646-
// Cast intrinsic for `Closure(Closure { dtor_idx: 403, function: Function { arguments: [], shim_idx: 406, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1647-
const ret = makeMutClosure(arg0, arg1, 403, __wbg_adapter_33);
1655+
imports.wbg.__wbindgen_cast_81ae19579b764768 = function(arg0, arg1) {
1656+
// Cast intrinsic for `Closure(Closure { dtor_idx: 401, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 402, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1657+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_6);
16481658
return ret;
16491659
};
1650-
imports.wbg.__wbindgen_cast_7ffb3d2dd5604b37 = function(arg0, arg1) {
1651-
// Cast intrinsic for `Closure(Closure { dtor_idx: 403, function: Function { arguments: [NamedExternref("Event")], shim_idx: 404, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1652-
const ret = makeMutClosure(arg0, arg1, 403, __wbg_adapter_6);
1660+
imports.wbg.__wbindgen_cast_a3c60e0de353f2e8 = function(arg0, arg1) {
1661+
// 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`.
1662+
const ret = makeClosure(arg0, arg1, 203, __wbg_adapter_17);
16531663
return ret;
16541664
};
1655-
imports.wbg.__wbindgen_cast_a4e3898b1be86442 = function(arg0, arg1) {
1656-
// Cast intrinsic for `Closure(Closure { dtor_idx: 205, function: Function { arguments: [NamedExternref("ClipboardEvent")], shim_idx: 206, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1657-
const ret = makeClosure(arg0, arg1, 205, __wbg_adapter_15);
1665+
imports.wbg.__wbindgen_cast_bd29760aa1319dc0 = function(arg0, arg1) {
1666+
// Cast intrinsic for `Closure(Closure { dtor_idx: 401, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 402, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1667+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_6);
16581668
return ret;
16591669
};
1660-
imports.wbg.__wbindgen_cast_a90278cbc3a186a5 = function(arg0, arg1) {
1661-
// Cast intrinsic for `Closure(Closure { dtor_idx: 403, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 404, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1662-
const ret = makeMutClosure(arg0, arg1, 403, __wbg_adapter_6);
1670+
imports.wbg.__wbindgen_cast_c1ca793dc568c1b3 = function(arg0, arg1) {
1671+
// Cast intrinsic for `Closure(Closure { dtor_idx: 401, function: Function { arguments: [], shim_idx: 404, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1672+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_30);
16631673
return ret;
16641674
};
16651675
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
16661676
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
16671677
const ret = getArrayU8FromWasm0(arg0, arg1);
16681678
return ret;
16691679
};
1670-
imports.wbg.__wbindgen_cast_d051e9fa8dfeedda = function(arg0, arg1) {
1671-
// Cast intrinsic for `Closure(Closure { dtor_idx: 403, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 310, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1672-
const ret = makeMutClosure(arg0, arg1, 403, __wbg_adapter_26);
1680+
imports.wbg.__wbindgen_cast_ce94e51bb971edd0 = function(arg0, arg1) {
1681+
// Cast intrinsic for `Closure(Closure { dtor_idx: 401, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 308, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1682+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_41);
1683+
return ret;
1684+
};
1685+
imports.wbg.__wbindgen_cast_cea2f4e903bc708d = function(arg0, arg1) {
1686+
// Cast intrinsic for `Closure(Closure { dtor_idx: 401, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 402, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1687+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_6);
16731688
return ret;
16741689
};
16751690
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
16761691
// Cast intrinsic for `F64 -> Externref`.
16771692
const ret = arg0;
16781693
return ret;
16791694
};
1680-
imports.wbg.__wbindgen_cast_dc658983233cea3f = function(arg0, arg1) {
1681-
// Cast intrinsic for `Closure(Closure { dtor_idx: 403, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 404, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1682-
const ret = makeMutClosure(arg0, arg1, 403, __wbg_adapter_6);
1683-
return ret;
1684-
};
1685-
imports.wbg.__wbindgen_cast_ee334538f34b4e1e = function(arg0, arg1) {
1686-
// Cast intrinsic for `Closure(Closure { dtor_idx: 403, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 404, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1687-
const ret = makeMutClosure(arg0, arg1, 403, __wbg_adapter_6);
1688-
return ret;
1689-
};
1690-
imports.wbg.__wbindgen_cast_eee8669b30cef865 = function(arg0, arg1) {
1691-
// Cast intrinsic for `Closure(Closure { dtor_idx: 205, function: Function { arguments: [NamedExternref("InputEvent")], shim_idx: 206, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1692-
const ret = makeClosure(arg0, arg1, 205, __wbg_adapter_15);
1693-
return ret;
1694-
};
1695-
imports.wbg.__wbindgen_cast_f347276995b4862b = function(arg0, arg1) {
1696-
// Cast intrinsic for `Closure(Closure { dtor_idx: 403, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 404, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1697-
const ret = makeMutClosure(arg0, arg1, 403, __wbg_adapter_6);
1695+
imports.wbg.__wbindgen_cast_e32de872a8a04271 = function(arg0, arg1) {
1696+
// Cast intrinsic for `Closure(Closure { dtor_idx: 401, function: Function { arguments: [NamedExternref("Event")], shim_idx: 402, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1697+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_6);
16981698
return ret;
16991699
};
1700-
imports.wbg.__wbindgen_cast_f51c934809df2f95 = function(arg0, arg1) {
1701-
// Cast intrinsic for `Closure(Closure { dtor_idx: 403, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 404, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1702-
const ret = makeMutClosure(arg0, arg1, 403, __wbg_adapter_6);
1700+
imports.wbg.__wbindgen_cast_eb65d4687f1afcb6 = function(arg0, arg1) {
1701+
// Cast intrinsic for `Closure(Closure { dtor_idx: 401, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 402, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1702+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_6);
17031703
return ret;
17041704
};
1705-
imports.wbg.__wbindgen_cast_f6e7ce2ea1671d32 = function(arg0, arg1) {
1706-
// Cast intrinsic for `Closure(Closure { dtor_idx: 205, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 206, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1707-
const ret = makeClosure(arg0, arg1, 205, __wbg_adapter_15);
1705+
imports.wbg.__wbindgen_cast_eef17ee23c9212b1 = function(arg0, arg1) {
1706+
// 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`.
1707+
const ret = makeClosure(arg0, arg1, 203, __wbg_adapter_17);
17081708
return ret;
17091709
};
17101710
imports.wbg.__wbindgen_init_externref_table = function() {
4.07 KB
Binary file not shown.

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

Lines changed: 4 additions & 4 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 closure404_externref_shim: (a: number, b: number, c: any) => void;
18-
export const closure206_externref_shim: (a: number, b: number, c: any) => void;
19-
export const closure310_externref_shim: (a: number, b: number, c: any, d: any) => void;
20-
export const wasm_bindgen__convert__closures_____invoke__h0edb6a1aed6dc497: (a: number, b: number) => void;
17+
export const closure402_externref_shim: (a: number, b: number, c: any) => void;
18+
export const closure204_externref_shim: (a: number, b: number, c: any) => void;
19+
export const wasm_bindgen__convert__closures_____invoke__h1c28e1d9555bb37c: (a: number, b: number) => void;
20+
export const closure308_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: 5 additions & 5 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 closure3737_externref_shim: (a: number, b: number, c: any) => void;
23-
readonly closure3800_externref_shim: (a: number, b: number, c: any) => void;
24-
readonly closure3456_externref_shim: (a: number, b: number, c: any) => void;
25-
readonly wasm_bindgen__convert__closures_____invoke__h2df447169abbed51: (a: number, b: number) => void;
26-
readonly closure3738_externref_shim: (a: number, b: number, c: any, d: any) => void;
22+
readonly closure3732_externref_shim: (a: number, b: number, c: any) => void;
23+
readonly closure3733_externref_shim: (a: number, b: number, c: any, d: any) => void;
24+
readonly closure3235_externref_shim: (a: number, b: number, c: any) => void;
25+
readonly closure3795_externref_shim: (a: number, b: number, c: any) => void;
26+
readonly wasm_bindgen__convert__closures_____invoke__h73fc08bcf5b30bd6: (a: number, b: number) => void;
2727
readonly __wbindgen_start: () => void;
2828
}
2929

0 commit comments

Comments
 (0)