Skip to content

Commit 4584709

Browse files
Update from slint-ui/slint
Pull web demos and C++/Rust reference docs from commit 399fe367a312ccba65b612a4d356360ba14802a3 (refs/heads/master)
1 parent cf5f777 commit 4584709

File tree

2,994 files changed

+9152
-7181
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,994 files changed

+9152
-7181
lines changed
12 KB
Binary file not shown.
12 KB
Binary file not shown.
4 KB
Binary file not shown.
12 KB
Binary file not shown.

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

Lines changed: 1 addition & 1 deletion
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 wasm_bindgen__convert__closures_____invoke__h0edb6a1aed6dc497: (a: number, b: number) => void;
2322
readonly closure191_externref_shim: (a: number, b: number, c: any) => void;
2423
readonly closure402_externref_shim: (a: number, b: number, c: any) => void;
2524
readonly closure308_externref_shim: (a: number, b: number, c: any, d: any) => void;
25+
readonly wasm_bindgen__convert__closures_____invoke__h0edb6a1aed6dc497: (a: number, b: number) => void;
2626
readonly __wbindgen_start: () => void;
2727
}
2828

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

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -270,22 +270,22 @@ export function main() {
270270
wasm.main();
271271
}
272272

273-
function __wbg_adapter_6(arg0, arg1) {
274-
wasm.wasm_bindgen__convert__closures_____invoke__h0edb6a1aed6dc497(arg0, arg1);
275-
}
276-
277-
function __wbg_adapter_9(arg0, arg1, arg2) {
273+
function __wbg_adapter_8(arg0, arg1, arg2) {
278274
wasm.closure191_externref_shim(arg0, arg1, arg2);
279275
}
280276

281-
function __wbg_adapter_14(arg0, arg1, arg2) {
277+
function __wbg_adapter_13(arg0, arg1, arg2) {
282278
wasm.closure402_externref_shim(arg0, arg1, arg2);
283279
}
284280

285-
function __wbg_adapter_41(arg0, arg1, arg2, arg3) {
281+
function __wbg_adapter_20(arg0, arg1, arg2, arg3) {
286282
wasm.closure308_externref_shim(arg0, arg1, arg2, arg3);
287283
}
288284

285+
function __wbg_adapter_23(arg0, arg1) {
286+
wasm.wasm_bindgen__convert__closures_____invoke__h0edb6a1aed6dc497(arg0, arg1);
287+
}
288+
289289
const __wbindgen_enum_ResizeObserverBoxOptions = ["border-box", "content-box", "device-pixel-content-box"];
290290

291291
const __wbindgen_enum_VisibilityState = ["hidden", "visible"];
@@ -1619,7 +1619,7 @@ function __wbg_get_imports() {
16191619
};
16201620
imports.wbg.__wbindgen_cast_173b168fabcebbda = function(arg0, arg1) {
16211621
// 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_14);
1622+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_13);
16231623
return ret;
16241624
};
16251625
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
@@ -1629,47 +1629,47 @@ function __wbg_get_imports() {
16291629
};
16301630
imports.wbg.__wbindgen_cast_2f8359cd61fde711 = function(arg0, arg1) {
16311631
// Cast intrinsic for `Closure(Closure { dtor_idx: 190, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 191, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1632-
const ret = makeClosure(arg0, arg1, 190, __wbg_adapter_9);
1632+
const ret = makeClosure(arg0, arg1, 190, __wbg_adapter_8);
16331633
return ret;
16341634
};
16351635
imports.wbg.__wbindgen_cast_4992e0f004b2258f = function(arg0, arg1) {
16361636
// Cast intrinsic for `Closure(Closure { dtor_idx: 401, function: Function { arguments: [Externref], shim_idx: 402, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1637-
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_14);
1637+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_13);
16381638
return ret;
16391639
};
16401640
imports.wbg.__wbindgen_cast_5b7d297379b58e5a = function(arg0, arg1) {
16411641
// Cast intrinsic for `Closure(Closure { dtor_idx: 190, function: Function { arguments: [NamedExternref("CompositionEvent")], shim_idx: 191, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1642-
const ret = makeClosure(arg0, arg1, 190, __wbg_adapter_9);
1642+
const ret = makeClosure(arg0, arg1, 190, __wbg_adapter_8);
16431643
return ret;
16441644
};
16451645
imports.wbg.__wbindgen_cast_645393bd0f2d2c4b = function(arg0, arg1) {
16461646
// Cast intrinsic for `Closure(Closure { dtor_idx: 190, function: Function { arguments: [NamedExternref("ClipboardEvent")], shim_idx: 191, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1647-
const ret = makeClosure(arg0, arg1, 190, __wbg_adapter_9);
1647+
const ret = makeClosure(arg0, arg1, 190, __wbg_adapter_8);
16481648
return ret;
16491649
};
16501650
imports.wbg.__wbindgen_cast_738a85efee63049e = function(arg0, arg1) {
16511651
// 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_14);
1652+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_13);
16531653
return ret;
16541654
};
16551655
imports.wbg.__wbindgen_cast_81ae19579b764768 = function(arg0, arg1) {
16561656
// 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_14);
1657+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_13);
16581658
return ret;
16591659
};
16601660
imports.wbg.__wbindgen_cast_9cd78f89d0182328 = function(arg0, arg1) {
16611661
// Cast intrinsic for `Closure(Closure { dtor_idx: 190, function: Function { arguments: [NamedExternref("Event")], shim_idx: 191, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1662-
const ret = makeClosure(arg0, arg1, 190, __wbg_adapter_9);
1662+
const ret = makeClosure(arg0, arg1, 190, __wbg_adapter_8);
16631663
return ret;
16641664
};
16651665
imports.wbg.__wbindgen_cast_bd29760aa1319dc0 = function(arg0, arg1) {
16661666
// 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_14);
1667+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_13);
16681668
return ret;
16691669
};
16701670
imports.wbg.__wbindgen_cast_c1ca793dc568c1b3 = function(arg0, arg1) {
16711671
// 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_6);
1672+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_23);
16731673
return ret;
16741674
};
16751675
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
@@ -1679,12 +1679,12 @@ function __wbg_get_imports() {
16791679
};
16801680
imports.wbg.__wbindgen_cast_ce94e51bb971edd0 = function(arg0, arg1) {
16811681
// 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);
1682+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_20);
16831683
return ret;
16841684
};
16851685
imports.wbg.__wbindgen_cast_cea2f4e903bc708d = function(arg0, arg1) {
16861686
// 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_14);
1687+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_13);
16881688
return ret;
16891689
};
16901690
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
@@ -1694,17 +1694,17 @@ function __wbg_get_imports() {
16941694
};
16951695
imports.wbg.__wbindgen_cast_e32de872a8a04271 = function(arg0, arg1) {
16961696
// 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_14);
1697+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_13);
16981698
return ret;
16991699
};
17001700
imports.wbg.__wbindgen_cast_eb65d4687f1afcb6 = function(arg0, arg1) {
17011701
// 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_14);
1702+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_13);
17031703
return ret;
17041704
};
17051705
imports.wbg.__wbindgen_cast_f671726606e27bb6 = function(arg0, arg1) {
17061706
// Cast intrinsic for `Closure(Closure { dtor_idx: 190, function: Function { arguments: [NamedExternref("InputEvent")], shim_idx: 191, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1707-
const ret = makeClosure(arg0, arg1, 190, __wbg_adapter_9);
1707+
const ret = makeClosure(arg0, arg1, 190, __wbg_adapter_8);
17081708
return ret;
17091709
};
17101710
imports.wbg.__wbindgen_init_externref_table = function() {
-14 Bytes
Binary file not shown.

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

Lines changed: 1 addition & 1 deletion
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 wasm_bindgen__convert__closures_____invoke__h0edb6a1aed6dc497: (a: number, b: number) => void;
1817
export const closure191_externref_shim: (a: number, b: number, c: any) => void;
1918
export const closure402_externref_shim: (a: number, b: number, c: any) => void;
2019
export const closure308_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;
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 closure3730_externref_shim: (a: number, b: number, c: any) => void;
22+
readonly closure3731_externref_shim: (a: number, b: number, c: any) => void;
23+
readonly closure3425_externref_shim: (a: number, b: number, c: any) => void;
24+
readonly closure3794_externref_shim: (a: number, b: number, c: any) => void;
2325
readonly wasm_bindgen__convert__closures_____invoke__h2df447169abbed51: (a: number, b: number) => void;
24-
readonly closure3257_externref_shim: (a: number, b: number, c: any) => void;
25-
readonly closure3793_externref_shim: (a: number, b: number, c: any) => void;
26-
readonly closure3731_externref_shim: (a: number, b: number, c: any, d: any) => void;
26+
readonly closure3732_externref_shim: (a: number, b: number, c: any, d: any) => void;
2727
readonly __wbindgen_start: () => void;
2828
}
2929

0 commit comments

Comments
 (0)