Skip to content

Commit

Permalink
Update from slint-ui/slint
Browse files Browse the repository at this point in the history
Pull web demos and C++/Rust reference docs from commit d014df7aee2d079c7b1bd6be514aeb6dc317a322 (refs/heads/master)
  • Loading branch information
slint-team[bot] committed Aug 22, 2024
1 parent 6242e3d commit 5b77ca0
Show file tree
Hide file tree
Showing 289 changed files with 1,409 additions and 1,302 deletions.
Binary file modified snapshots/master/demos/android/energy-monitor.apk
Binary file not shown.
Binary file modified snapshots/master/demos/android/todo_lib.apk
Binary file not shown.
8 changes: 4 additions & 4 deletions snapshots/master/demos/carousel/pkg/carousel.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ export interface InitOutput {
readonly __wbindgen_malloc: (a: number, b: number) => number;
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
readonly __wbindgen_export_2: WebAssembly.Table;
readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h515229f4fe4425b6: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98fa261ba1d6bab9: (a: number, b: number, c: number, d: number) => void;
readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0497063c2c6fc63b: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1634cd42a1ddb2d1: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6d54a98f880f017d: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h47c46ea6f389fc38: (a: number, b: number, c: number, d: number) => void;
readonly __wbindgen_exn_store: (a: number) => void;
readonly __wbindgen_start: () => void;
}
Expand Down
68 changes: 34 additions & 34 deletions snapshots/master/demos/carousel/pkg/carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ function makeClosure(arg0, arg1, dtor, f) {
return real;
}
function __wbg_adapter_26(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h515229f4fe4425b6(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0497063c2c6fc63b(arg0, arg1, addHeapObject(arg2));
}

function makeMutClosure(arg0, arg1, dtor, f) {
Expand Down Expand Up @@ -237,15 +237,15 @@ function makeMutClosure(arg0, arg1, dtor, f) {
return real;
}
function __wbg_adapter_37(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1634cd42a1ddb2d1(arg0, arg1, addHeapObject(arg2));
}

function __wbg_adapter_40(arg0, arg1) {
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8(arg0, arg1);
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6d54a98f880f017d(arg0, arg1);
}

function __wbg_adapter_57(arg0, arg1, arg2, arg3) {
wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98fa261ba1d6bab9(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h47c46ea6f389fc38(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
}

/**
Expand Down Expand Up @@ -1309,14 +1309,17 @@ function __wbg_get_imports() {
const ret = getObject(arg0).buttons;
return ret;
};
imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) {
const ret = getObject(arg0).isIntersecting;
return ret;
};
imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) {
getObject(arg0).setPointerCapture(arg1);
}, arguments) };
imports.wbg.__wbg_matches_42eb40a28a316d0e = function(arg0) {
const ret = getObject(arg0).matches;
return ret;
};
imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) {
const ret = getObject(arg0).isIntersecting;
return ret;
};
imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) {
const ret = getObject(arg0).contentRect;
return addHeapObject(ret);
Expand All @@ -1341,9 +1344,6 @@ function __wbg_get_imports() {
const ret = getObject(arg0).blockSize;
return ret;
};
imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) {
getObject(arg0).setPointerCapture(arg1);
}, arguments) };
imports.wbg.__wbindgen_cb_drop = function(arg0) {
const obj = takeObject(arg0).original;
if (obj.cnt-- == 1) {
Expand All @@ -1357,6 +1357,14 @@ function __wbg_get_imports() {
const ret = getObject(arg0).Window;
return addHeapObject(ret);
};
imports.wbg.__wbg_prototype_d33365945f23f380 = function() {
const ret = ResizeObserverEntry.prototype;
return addHeapObject(ret);
};
imports.wbg.__wbg_getOwnPropertyDescriptor_104555bb47552c24 = function(arg0, arg1) {
const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1));
return addHeapObject(ret);
};
imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) {
getObject(arg0).type = getStringFromWasm0(arg1, arg2);
};
Expand All @@ -1375,14 +1383,6 @@ function __wbg_get_imports() {
const ret = new Worker(getStringFromWasm0(arg0, arg1));
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_prototype_d33365945f23f380 = function() {
const ret = ResizeObserverEntry.prototype;
return addHeapObject(ret);
};
imports.wbg.__wbg_getOwnPropertyDescriptor_104555bb47552c24 = function(arg0, arg1) {
const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1));
return addHeapObject(ret);
};
imports.wbg.__wbg_button_460cdec9f2512a91 = function(arg0) {
const ret = getObject(arg0).button;
return ret;
Expand Down Expand Up @@ -1624,62 +1624,62 @@ function __wbg_get_imports() {
return ret;
}, arguments) };
imports.wbg.__wbindgen_closure_wrapper1129 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 144, __wbg_adapter_26);
const ret = makeClosure(arg0, arg1, 146, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1131 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 144, __wbg_adapter_26);
const ret = makeClosure(arg0, arg1, 146, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1132 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 144, __wbg_adapter_26);
const ret = makeClosure(arg0, arg1, 146, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1133 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 144, __wbg_adapter_26);
const ret = makeClosure(arg0, arg1, 146, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1134 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 144, __wbg_adapter_26);
const ret = makeClosure(arg0, arg1, 146, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper4338 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper4340 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 388, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5554 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5557 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 388, __wbg_adapter_40);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5587 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5590 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 388, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5593 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5595 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 388, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5599 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5606 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 388, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5614 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5612 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 388, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5637 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5617 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 388, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5642 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5623 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 388, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5652 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5678 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 388, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5666 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5713 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 388, __wbg_adapter_57);
return addHeapObject(ret);
};
Expand Down
Binary file modified snapshots/master/demos/carousel/pkg/carousel_bg.wasm
Binary file not shown.
8 changes: 4 additions & 4 deletions snapshots/master/demos/carousel/pkg/carousel_bg.wasm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ export function send_keyboard_string_sequence(a: number, b: number): void;
export function __wbindgen_malloc(a: number, b: number): number;
export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number;
export const __wbindgen_export_2: WebAssembly.Table;
export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h515229f4fe4425b6(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04f13a013226e7da(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb51376924c76f5e8(a: number, b: number): void;
export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98fa261ba1d6bab9(a: number, b: number, c: number, d: number): void;
export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0497063c2c6fc63b(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1634cd42a1ddb2d1(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6d54a98f880f017d(a: number, b: number): void;
export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h47c46ea6f389fc38(a: number, b: number, c: number, d: number): void;
export function __wbindgen_exn_store(a: number): void;
export function __wbindgen_start(): void;
10 changes: 5 additions & 5 deletions snapshots/master/demos/energy-monitor/pkg/energy_monitor.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ export interface InitOutput {
readonly __wbindgen_malloc: (a: number, b: number) => number;
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
readonly __wbindgen_export_2: WebAssembly.Table;
readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h271ea2368c312c4e: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h46d3bed4f2abf21c: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h56f1a7156f862a1e: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb66c83361514d8ed: (a: number, b: number, c: number, d: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfed05b037b6d37a4: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1508432382ee883f: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5ec7104ba3e004c3: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h09191c530e8b9232: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hdce77f4568c2d8d6: (a: number, b: number, c: number, d: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2a9a7c0f65761ad2: (a: number, b: number, c: number) => void;
readonly __wbindgen_exn_store: (a: number) => void;
readonly __wbindgen_start: () => void;
}
Expand Down
Loading

0 comments on commit 5b77ca0

Please sign in to comment.