Skip to content

Commit f86b515

Browse files
Update from slint-ui/slint
Pull web demos and C++/Rust reference docs from commit 54a4b57e5cddda999915e9eee52623ef7d3da5a7 (refs/heads/master)
1 parent 8e6b86f commit f86b515

File tree

108 files changed

+1927
-1321
lines changed

Some content is hidden

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

108 files changed

+1927
-1321
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.

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

Lines changed: 2 additions & 2 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;
2223
readonly closure360_externref_shim: (a: number, b: number, c: any) => void;
23-
readonly closure262_externref_shim: (a: number, b: number, c: any, d: any) => void;
2424
readonly wasm_bindgen__convert__closures_____invoke__h0edb6a1aed6dc497: (a: number, b: number) => void;
25-
readonly closure141_externref_shim: (a: number, b: number, c: any) => void;
25+
readonly closure263_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: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -270,20 +270,20 @@ export function main() {
270270
wasm.main();
271271
}
272272

273-
function __wbg_adapter_8(arg0, arg1, arg2) {
274-
wasm.closure360_externref_shim(arg0, arg1, arg2);
273+
function __wbg_adapter_6(arg0, arg1, arg2) {
274+
wasm.closure141_externref_shim(arg0, arg1, arg2);
275275
}
276276

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

281-
function __wbg_adapter_16(arg0, arg1) {
281+
function __wbg_adapter_24(arg0, arg1) {
282282
wasm.wasm_bindgen__convert__closures_____invoke__h0edb6a1aed6dc497(arg0, arg1);
283283
}
284284

285-
function __wbg_adapter_19(arg0, arg1, arg2) {
286-
wasm.closure141_externref_shim(arg0, arg1, arg2);
285+
function __wbg_adapter_33(arg0, arg1, arg2, arg3) {
286+
wasm.closure263_externref_shim(arg0, arg1, arg2, arg3);
287287
}
288288

289289
const __wbindgen_enum_ResizeObserverBoxOptions = ["border-box", "content-box", "device-pixel-content-box"];
@@ -1619,12 +1619,12 @@ function __wbg_get_imports() {
16191619
};
16201620
imports.wbg.__wbindgen_cast_06f2a708ddf3d234 = function(arg0, arg1) {
16211621
// 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_16);
1622+
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_24);
16231623
return ret;
16241624
};
16251625
imports.wbg.__wbindgen_cast_11124b29923e506f = function(arg0, arg1) {
16261626
// 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_8);
1627+
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_9);
16281628
return ret;
16291629
};
16301630
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
@@ -1634,57 +1634,52 @@ function __wbg_get_imports() {
16341634
};
16351635
imports.wbg.__wbindgen_cast_458dea9904521df8 = function(arg0, arg1) {
16361636
// 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_19);
1637+
const ret = makeClosure(arg0, arg1, 140, __wbg_adapter_6);
16381638
return ret;
16391639
};
16401640
imports.wbg.__wbindgen_cast_4d485b152fc207b4 = function(arg0, arg1) {
16411641
// 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_8);
1642+
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_9);
16431643
return ret;
16441644
};
16451645
imports.wbg.__wbindgen_cast_59ba1ff736dce1bd = function(arg0, arg1) {
16461646
// 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_8);
1648-
return ret;
1649-
};
1650-
imports.wbg.__wbindgen_cast_62f9411c8c697552 = function(arg0, arg1) {
1651-
// Cast intrinsic for `Closure(Closure { dtor_idx: 359, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 262, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1652-
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_11);
1647+
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_9);
16531648
return ret;
16541649
};
16551650
imports.wbg.__wbindgen_cast_7b8fdef4d8631a4c = function(arg0, arg1) {
16561651
// 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`.
1657-
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_8);
1652+
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_9);
16581653
return ret;
16591654
};
16601655
imports.wbg.__wbindgen_cast_83fc410701f32151 = function(arg0, arg1) {
16611656
// 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`.
1662-
const ret = makeClosure(arg0, arg1, 140, __wbg_adapter_19);
1657+
const ret = makeClosure(arg0, arg1, 140, __wbg_adapter_6);
16631658
return ret;
16641659
};
16651660
imports.wbg.__wbindgen_cast_86adf6ceb55decb6 = function(arg0, arg1) {
16661661
// 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`.
1667-
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_8);
1662+
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_9);
16681663
return ret;
16691664
};
16701665
imports.wbg.__wbindgen_cast_905d5cabd6d315b1 = function(arg0, arg1) {
16711666
// 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`.
1672-
const ret = makeClosure(arg0, arg1, 140, __wbg_adapter_19);
1667+
const ret = makeClosure(arg0, arg1, 140, __wbg_adapter_6);
16731668
return ret;
16741669
};
16751670
imports.wbg.__wbindgen_cast_9068fae8b712ae2a = function(arg0, arg1) {
16761671
// 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`.
1677-
const ret = makeClosure(arg0, arg1, 140, __wbg_adapter_19);
1672+
const ret = makeClosure(arg0, arg1, 140, __wbg_adapter_6);
16781673
return ret;
16791674
};
16801675
imports.wbg.__wbindgen_cast_a2c2205e1ae48a8f = function(arg0, arg1) {
16811676
// 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`.
1682-
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_8);
1677+
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_9);
16831678
return ret;
16841679
};
16851680
imports.wbg.__wbindgen_cast_a4b07f0cae6fd903 = function(arg0, arg1) {
16861681
// 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`.
1687-
const ret = makeClosure(arg0, arg1, 140, __wbg_adapter_19);
1682+
const ret = makeClosure(arg0, arg1, 140, __wbg_adapter_6);
16881683
return ret;
16891684
};
16901685
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
@@ -1694,7 +1689,7 @@ function __wbg_get_imports() {
16941689
};
16951690
imports.wbg.__wbindgen_cast_d0e39eb22beaa3f2 = function(arg0, arg1) {
16961691
// 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`.
1697-
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_8);
1692+
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_9);
16981693
return ret;
16991694
};
17001695
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
@@ -1704,7 +1699,12 @@ function __wbg_get_imports() {
17041699
};
17051700
imports.wbg.__wbindgen_cast_e424aac48c10ba33 = function(arg0, arg1) {
17061701
// Cast intrinsic for `Closure(Closure { dtor_idx: 359, function: Function { arguments: [Externref], shim_idx: 360, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1707-
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_8);
1702+
const ret = makeMutClosure(arg0, arg1, 359, __wbg_adapter_9);
1703+
return ret;
1704+
};
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_33);
17081708
return ret;
17091709
};
17101710
imports.wbg.__wbindgen_init_externref_table = function() {
244 Bytes
Binary file not shown.

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

Lines changed: 2 additions & 2 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;
1718
export const closure360_externref_shim: (a: number, b: number, c: any) => void;
18-
export const closure262_externref_shim: (a: number, b: number, c: any, d: any) => void;
1919
export const wasm_bindgen__convert__closures_____invoke__h0edb6a1aed6dc497: (a: number, b: number) => void;
20-
export const closure141_externref_shim: (a: number, b: number, c: any) => void;
20+
export const closure263_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: 3 additions & 3 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;
2223
readonly closure3319_externref_shim: (a: number, b: number, c: any) => void;
23-
readonly closure3729_externref_shim: (a: number, b: number, c: any) => void;
24+
readonly closure3729_externref_shim: (a: number, b: number, c: any, d: any) => void;
2425
readonly wasm_bindgen__convert__closures_____invoke__h2df447169abbed51: (a: number, b: number) => void;
25-
readonly closure3730_externref_shim: (a: number, b: number, c: any, d: any) => void;
26-
readonly closure3792_externref_shim: (a: number, b: number, c: any) => void;
26+
readonly closure3791_externref_shim: (a: number, b: number, c: any) => void;
2727
readonly __wbindgen_start: () => void;
2828
}
2929

0 commit comments

Comments
 (0)