Skip to content

Commit f53ae2b

Browse files
Update from slint-ui/slint
Pull web demos and C++/Rust reference docs from commit eb3e1dded197f482dc40ff9672cc88a7e61e7704 (refs/heads/master)
1 parent 8558aa2 commit f53ae2b

File tree

305 files changed

+1431
-1302
lines changed

Some content is hidden

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

305 files changed

+1431
-1302
lines changed
0 Bytes
Binary file not shown.
4 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
@@ -17,10 +17,10 @@ export interface InitOutput {
1717
readonly __wbindgen_malloc: (a: number, b: number) => number;
1818
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
1919
readonly __wbindgen_export_2: WebAssembly.Table;
20-
readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h13dc255552ae5e5a: (a: number, b: number, c: number) => void;
21-
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644: (a: number, b: number, c: number) => void;
22-
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93: (a: number, b: number) => void;
23-
readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2: (a: number, b: number, c: number, d: number) => void;
20+
readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h326af15ee9ee443e: (a: number, b: number, c: number) => void;
21+
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1962a275ae97145c: (a: number, b: number, c: number) => void;
22+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h12c1ebc45e36ecbe: (a: number, b: number) => void;
23+
readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h028b050b60049bd3: (a: number, b: number, c: number, d: number) => void;
2424
readonly __wbindgen_exn_store: (a: number) => void;
2525
readonly __wbindgen_start: () => void;
2626
}

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

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ function makeClosure(arg0, arg1, dtor, f) {
209209
return real;
210210
}
211211
function __wbg_adapter_26(arg0, arg1, arg2) {
212-
wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h13dc255552ae5e5a(arg0, arg1, addHeapObject(arg2));
212+
wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h326af15ee9ee443e(arg0, arg1, addHeapObject(arg2));
213213
}
214214

215215
function makeMutClosure(arg0, arg1, dtor, f) {
@@ -237,15 +237,15 @@ function makeMutClosure(arg0, arg1, dtor, f) {
237237
return real;
238238
}
239239
function __wbg_adapter_37(arg0, arg1, arg2) {
240-
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644(arg0, arg1, addHeapObject(arg2));
240+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1962a275ae97145c(arg0, arg1, addHeapObject(arg2));
241241
}
242242

243243
function __wbg_adapter_40(arg0, arg1) {
244-
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93(arg0, arg1);
244+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h12c1ebc45e36ecbe(arg0, arg1);
245245
}
246246

247-
function __wbg_adapter_57(arg0, arg1, arg2, arg3) {
248-
wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
247+
function __wbg_adapter_53(arg0, arg1, arg2, arg3) {
248+
wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h028b050b60049bd3(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
249249
}
250250

251251
/**
@@ -1297,27 +1297,19 @@ function __wbg_get_imports() {
12971297
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
12981298
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
12991299
};
1300-
imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) {
1301-
const ret = getObject(arg0).buttons;
1302-
return ret;
1303-
};
1300+
imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) {
1301+
getObject(arg0).setPointerCapture(arg1);
1302+
}, arguments) };
13041303
imports.wbg.__wbg_pressure_95cee3909a8549a9 = function(arg0) {
13051304
const ret = getObject(arg0).pressure;
13061305
return ret;
13071306
};
1308-
imports.wbg.__wbg_persisted_6483200f25cdfed4 = function(arg0) {
1309-
const ret = getObject(arg0).persisted;
1310-
return ret;
1311-
};
1312-
imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) {
1313-
getObject(arg0).setPointerCapture(arg1);
1314-
}, arguments) };
1315-
imports.wbg.__wbg_matches_42eb40a28a316d0e = function(arg0) {
1316-
const ret = getObject(arg0).matches;
1307+
imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) {
1308+
const ret = getObject(arg0).buttons;
13171309
return ret;
13181310
};
1319-
imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) {
1320-
const ret = getObject(arg0).isIntersecting;
1311+
imports.wbg.__wbg_persisted_6483200f25cdfed4 = function(arg0) {
1312+
const ret = getObject(arg0).persisted;
13211313
return ret;
13221314
};
13231315
imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) {
@@ -1344,6 +1336,14 @@ function __wbg_get_imports() {
13441336
const ret = getObject(arg0).blockSize;
13451337
return ret;
13461338
};
1339+
imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) {
1340+
const ret = getObject(arg0).isIntersecting;
1341+
return ret;
1342+
};
1343+
imports.wbg.__wbg_matches_42eb40a28a316d0e = function(arg0) {
1344+
const ret = getObject(arg0).matches;
1345+
return ret;
1346+
};
13471347
imports.wbg.__wbindgen_cb_drop = function(arg0) {
13481348
const obj = takeObject(arg0).original;
13491349
if (obj.cnt-- == 1) {
@@ -1420,6 +1420,10 @@ function __wbg_get_imports() {
14201420
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
14211421
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
14221422
}, arguments) };
1423+
imports.wbg.__wbg_scheduler_f38a681d98b5a776 = function(arg0) {
1424+
const ret = getObject(arg0).scheduler;
1425+
return addHeapObject(ret);
1426+
};
14231427
imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) {
14241428
const ret = getObject(arg0).requestFullscreen;
14251429
return addHeapObject(ret);
@@ -1428,10 +1432,6 @@ function __wbg_get_imports() {
14281432
const ret = getObject(arg0).getCoalescedEvents;
14291433
return addHeapObject(ret);
14301434
};
1431-
imports.wbg.__wbg_scheduler_f38a681d98b5a776 = function(arg0) {
1432-
const ret = getObject(arg0).scheduler;
1433-
return addHeapObject(ret);
1434-
};
14351435
imports.wbg.__wbg_requestIdleCallback_86b728660e0547ef = function(arg0) {
14361436
const ret = getObject(arg0).requestIdleCallback;
14371437
return addHeapObject(ret);
@@ -1440,14 +1440,14 @@ function __wbg_get_imports() {
14401440
const ret = getObject(arg0).requestAnimationFrame(getObject(arg1));
14411441
return ret;
14421442
}, arguments) };
1443-
imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) {
1444-
const ret = getObject(arg0).Window;
1443+
imports.wbg.__wbg_prototype_d33365945f23f380 = function() {
1444+
const ret = ResizeObserverEntry.prototype;
14451445
return addHeapObject(ret);
14461446
};
1447-
imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) {
1448-
const ret = new Worker(getStringFromWasm0(arg0, arg1));
1447+
imports.wbg.__wbg_getOwnPropertyDescriptor_104555bb47552c24 = function(arg0, arg1) {
1448+
const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1));
14491449
return addHeapObject(ret);
1450-
}, arguments) };
1450+
};
14511451
imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) {
14521452
getObject(arg0).type = getStringFromWasm0(arg1, arg2);
14531453
};
@@ -1462,12 +1462,12 @@ function __wbg_get_imports() {
14621462
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
14631463
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
14641464
}, arguments) };
1465-
imports.wbg.__wbg_prototype_d33365945f23f380 = function() {
1466-
const ret = ResizeObserverEntry.prototype;
1465+
imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) {
1466+
const ret = new Worker(getStringFromWasm0(arg0, arg1));
14671467
return addHeapObject(ret);
1468-
};
1469-
imports.wbg.__wbg_getOwnPropertyDescriptor_104555bb47552c24 = function(arg0, arg1) {
1470-
const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1));
1468+
}, arguments) };
1469+
imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) {
1470+
const ret = getObject(arg0).Window;
14711471
return addHeapObject(ret);
14721472
};
14731473
imports.wbg.__wbg_removeListener_0ff79f74b9d808ac = function() { return handleError(function (arg0, arg1) {
@@ -1623,64 +1623,64 @@ function __wbg_get_imports() {
16231623
const ret = getObject(arg0).visibilityState;
16241624
return {"hidden":0,"visible":1,}[ret] ?? 2;
16251625
};
1626-
imports.wbg.__wbindgen_closure_wrapper1142 = function(arg0, arg1, arg2) {
1626+
imports.wbg.__wbindgen_closure_wrapper1140 = function(arg0, arg1, arg2) {
16271627
const ret = makeClosure(arg0, arg1, 137, __wbg_adapter_26);
16281628
return addHeapObject(ret);
16291629
};
1630-
imports.wbg.__wbindgen_closure_wrapper1144 = function(arg0, arg1, arg2) {
1630+
imports.wbg.__wbindgen_closure_wrapper1142 = function(arg0, arg1, arg2) {
16311631
const ret = makeClosure(arg0, arg1, 137, __wbg_adapter_26);
16321632
return addHeapObject(ret);
16331633
};
1634-
imports.wbg.__wbindgen_closure_wrapper1145 = function(arg0, arg1, arg2) {
1634+
imports.wbg.__wbindgen_closure_wrapper1143 = function(arg0, arg1, arg2) {
16351635
const ret = makeClosure(arg0, arg1, 137, __wbg_adapter_26);
16361636
return addHeapObject(ret);
16371637
};
1638-
imports.wbg.__wbindgen_closure_wrapper1146 = function(arg0, arg1, arg2) {
1638+
imports.wbg.__wbindgen_closure_wrapper1144 = function(arg0, arg1, arg2) {
16391639
const ret = makeClosure(arg0, arg1, 137, __wbg_adapter_26);
16401640
return addHeapObject(ret);
16411641
};
1642-
imports.wbg.__wbindgen_closure_wrapper1147 = function(arg0, arg1, arg2) {
1642+
imports.wbg.__wbindgen_closure_wrapper1145 = function(arg0, arg1, arg2) {
16431643
const ret = makeClosure(arg0, arg1, 137, __wbg_adapter_26);
16441644
return addHeapObject(ret);
16451645
};
1646-
imports.wbg.__wbindgen_closure_wrapper4363 = function(arg0, arg1, arg2) {
1646+
imports.wbg.__wbindgen_closure_wrapper4367 = function(arg0, arg1, arg2) {
16471647
const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37);
16481648
return addHeapObject(ret);
16491649
};
1650-
imports.wbg.__wbindgen_closure_wrapper5590 = function(arg0, arg1, arg2) {
1650+
imports.wbg.__wbindgen_closure_wrapper5595 = function(arg0, arg1, arg2) {
16511651
const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_40);
16521652
return addHeapObject(ret);
16531653
};
1654-
imports.wbg.__wbindgen_closure_wrapper5625 = function(arg0, arg1, arg2) {
1654+
imports.wbg.__wbindgen_closure_wrapper5628 = function(arg0, arg1, arg2) {
16551655
const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37);
16561656
return addHeapObject(ret);
16571657
};
1658-
imports.wbg.__wbindgen_closure_wrapper5630 = function(arg0, arg1, arg2) {
1658+
imports.wbg.__wbindgen_closure_wrapper5639 = function(arg0, arg1, arg2) {
16591659
const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37);
16601660
return addHeapObject(ret);
16611661
};
1662-
imports.wbg.__wbindgen_closure_wrapper5651 = function(arg0, arg1, arg2) {
1662+
imports.wbg.__wbindgen_closure_wrapper5671 = function(arg0, arg1, arg2) {
16631663
const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37);
16641664
return addHeapObject(ret);
16651665
};
1666-
imports.wbg.__wbindgen_closure_wrapper5672 = function(arg0, arg1, arg2) {
1666+
imports.wbg.__wbindgen_closure_wrapper5686 = function(arg0, arg1, arg2) {
16671667
const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37);
16681668
return addHeapObject(ret);
16691669
};
1670-
imports.wbg.__wbindgen_closure_wrapper5715 = function(arg0, arg1, arg2) {
1670+
imports.wbg.__wbindgen_closure_wrapper5700 = function(arg0, arg1, arg2) {
16711671
const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37);
16721672
return addHeapObject(ret);
16731673
};
1674-
imports.wbg.__wbindgen_closure_wrapper5733 = function(arg0, arg1, arg2) {
1675-
const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37);
1674+
imports.wbg.__wbindgen_closure_wrapper5727 = function(arg0, arg1, arg2) {
1675+
const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_53);
16761676
return addHeapObject(ret);
16771677
};
1678-
imports.wbg.__wbindgen_closure_wrapper5739 = function(arg0, arg1, arg2) {
1678+
imports.wbg.__wbindgen_closure_wrapper5735 = function(arg0, arg1, arg2) {
16791679
const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37);
16801680
return addHeapObject(ret);
16811681
};
1682-
imports.wbg.__wbindgen_closure_wrapper5744 = function(arg0, arg1, arg2) {
1683-
const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_57);
1682+
imports.wbg.__wbindgen_closure_wrapper5745 = function(arg0, arg1, arg2) {
1683+
const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37);
16841684
return addHeapObject(ret);
16851685
};
16861686

1.85 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
@@ -10,9 +10,9 @@ export function send_keyboard_string_sequence(a: number, b: number): void;
1010
export function __wbindgen_malloc(a: number, b: number): number;
1111
export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number;
1212
export const __wbindgen_export_2: WebAssembly.Table;
13-
export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h13dc255552ae5e5a(a: number, b: number, c: number): void;
14-
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h244cdec477705644(a: number, b: number, c: number): void;
15-
export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb2e0268d57010a93(a: number, b: number): void;
16-
export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h725302ba204f3fa2(a: number, b: number, c: number, d: number): void;
13+
export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h326af15ee9ee443e(a: number, b: number, c: number): void;
14+
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1962a275ae97145c(a: number, b: number, c: number): void;
15+
export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h12c1ebc45e36ecbe(a: number, b: number): void;
16+
export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h028b050b60049bd3(a: number, b: number, c: number, d: number): void;
1717
export function __wbindgen_exn_store(a: number): void;
1818
export function __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
@@ -17,11 +17,11 @@ export interface InitOutput {
1717
readonly __wbindgen_malloc: (a: number, b: number) => number;
1818
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
1919
readonly __wbindgen_export_2: WebAssembly.Table;
20-
readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h135ae5bf2f9b13e1: (a: number, b: number, c: number) => void;
21-
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h041de744d037b7dd: (a: number, b: number, c: number) => void;
22-
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h33a1fc8dea1a116d: (a: number, b: number) => void;
23-
readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8bee68100d61e980: (a: number, b: number, c: number, d: number) => void;
24-
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h15864c658010892a: (a: number, b: number, c: number) => void;
20+
readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h259561d31f76144e: (a: number, b: number, c: number) => void;
21+
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1095abee5f56300d: (a: number, b: number, c: number) => void;
22+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h154faefaa8507649: (a: number, b: number) => void;
23+
readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hce62806cc3d2eb9f: (a: number, b: number, c: number, d: number) => void;
24+
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3798e298a0bed500: (a: number, b: number, c: number) => void;
2525
readonly __wbindgen_exn_store: (a: number) => void;
2626
readonly __wbindgen_start: () => void;
2727
}

0 commit comments

Comments
 (0)