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 5acc7dd42ade2972073fe2a8d53f9da2aa66c3a0 (refs/heads/master)
  • Loading branch information
slint-team[bot] committed Jul 22, 2024
1 parent 2d6ba92 commit b8d0a1a
Show file tree
Hide file tree
Showing 271 changed files with 1,320 additions and 1,320 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__h34841be5f80c9334: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h09f883692bfcb177: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5b6555197571146a: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h335071d988a62964: (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__h31b17498312c9c13: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h035a126996d28334: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1351df9a71747fda: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h03731cd734f91d0d: (a: number, b: number, c: number, d: number) => void;
readonly __wbindgen_exn_store: (a: number) => void;
readonly __wbindgen_start: () => void;
}
Expand Down
96 changes: 48 additions & 48 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__h34841be5f80c9334(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h31b17498312c9c13(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__h09f883692bfcb177(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h035a126996d28334(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__h5b6555197571146a(arg0, arg1);
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1351df9a71747fda(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__h335071d988a62964(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h03731cd734f91d0d(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
}

/**
Expand Down Expand Up @@ -1151,15 +1151,6 @@ function __wbg_get_imports() {
const ret = Promise.resolve(getObject(arg0));
return addHeapObject(ret);
};
imports.wbg.__wbindgen_cb_drop = function(arg0) {
const obj = takeObject(arg0).original;
if (obj.cnt-- == 1) {
obj.a = 0;
return true;
}
const ret = false;
return ret;
};
imports.wbg.__wbg_getExtension_bef4112494c87f34 = function() { return handleError(function (arg0, arg1, arg2) {
const ret = getObject(arg0).getExtension(getStringFromWasm0(arg1, arg2));
return isLikeNone(ret) ? 0 : addHeapObject(ret);
Expand Down Expand Up @@ -1281,9 +1272,6 @@ function __wbg_get_imports() {
imports.wbg.__wbg_cancelAnimationFrame_111532f326e480af = function() { return handleError(function (arg0, arg1) {
getObject(arg0).cancelAnimationFrame(arg1);
}, arguments) };
imports.wbg.__wbg_postMessage_fbddfe9314af804e = function() { return handleError(function (arg0, arg1) {
getObject(arg0).postMessage(getObject(arg1));
}, arguments) };
imports.wbg.__wbg_pointerType_0f2f0383406aa7fa = function(arg0, arg1) {
const ret = getObject(arg1).pointerType;
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
Expand All @@ -1295,27 +1283,27 @@ function __wbg_get_imports() {
const ret = getObject(arg0).pointerId;
return ret;
};
imports.wbg.__wbg_persisted_cbb7e3c657029516 = function(arg0) {
const ret = getObject(arg0).persisted;
return ret;
};
imports.wbg.__wbg_postMessage_fbddfe9314af804e = function() { return handleError(function (arg0, arg1) {
getObject(arg0).postMessage(getObject(arg1));
}, arguments) };
imports.wbg.__wbg_pressure_99cd07399f942a7c = function(arg0) {
const ret = getObject(arg0).pressure;
return ret;
};
imports.wbg.__wbg_setPointerCapture_0fdaad7a916c8486 = function() { return handleError(function (arg0, arg1) {
getObject(arg0).setPointerCapture(arg1);
}, arguments) };
imports.wbg.__wbg_isIntersecting_082397a1d66e2e35 = function(arg0) {
const ret = getObject(arg0).isIntersecting;
imports.wbg.__wbg_matches_e14ed9ff8291cf24 = function(arg0) {
const ret = getObject(arg0).matches;
return ret;
};
imports.wbg.__wbg_buttons_d004fa75ac704227 = function(arg0) {
const ret = getObject(arg0).buttons;
return ret;
};
imports.wbg.__wbg_persisted_cbb7e3c657029516 = function(arg0) {
const ret = getObject(arg0).persisted;
return ret;
};
imports.wbg.__wbg_matches_e14ed9ff8291cf24 = function(arg0) {
const ret = getObject(arg0).matches;
imports.wbg.__wbg_isIntersecting_082397a1d66e2e35 = function(arg0) {
const ret = getObject(arg0).isIntersecting;
return ret;
};
imports.wbg.__wbg_contentRect_bce644376332c7a5 = function(arg0) {
Expand All @@ -1342,6 +1330,18 @@ function __wbg_get_imports() {
const ret = getObject(arg0).blockSize;
return ret;
};
imports.wbg.__wbg_setPointerCapture_0fdaad7a916c8486 = 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) {
obj.a = 0;
return true;
}
const ret = false;
return ret;
};
imports.wbg.__wbg_button_367cdc7303e3cf9b = function(arg0) {
const ret = getObject(arg0).button;
return ret;
Expand Down Expand Up @@ -1494,6 +1494,10 @@ function __wbg_get_imports() {
const ret = Object.is(getObject(arg0), getObject(arg1));
return ret;
};
imports.wbg.__wbg_requestFullscreen_96d00e8395472176 = function(arg0) {
const ret = getObject(arg0).requestFullscreen;
return addHeapObject(ret);
};
imports.wbg.__wbg_requestIdleCallback_0ea47061b0350f03 = function(arg0) {
const ret = getObject(arg0).requestIdleCallback;
return addHeapObject(ret);
Expand All @@ -1502,23 +1506,19 @@ function __wbg_get_imports() {
const ret = getObject(arg0).getCoalescedEvents;
return addHeapObject(ret);
};
imports.wbg.__wbg_requestFullscreen_96d00e8395472176 = function(arg0) {
const ret = getObject(arg0).requestFullscreen;
return addHeapObject(ret);
};
imports.wbg.__wbg_scheduler_bf83535a97c64a0a = function(arg0) {
const ret = getObject(arg0).scheduler;
return addHeapObject(ret);
};
imports.wbg.__wbg_queueMicrotask_558c84e2c24cea70 = function(arg0) {
queueMicrotask(takeObject(arg0));
};
imports.wbg.__wbg_disconnect_e694940ce6d0ef91 = function(arg0) {
getObject(arg0).disconnect();
};
imports.wbg.__wbg_disconnect_6675f32e2ae8deb7 = function(arg0) {
getObject(arg0).disconnect();
};
imports.wbg.__wbg_queueMicrotask_558c84e2c24cea70 = function(arg0) {
queueMicrotask(takeObject(arg0));
};
imports.wbg.__wbg_navigator_6c8fa55c5cc8796e = function(arg0) {
const ret = getObject(arg0).navigator;
return addHeapObject(ret);
Expand Down Expand Up @@ -1611,63 +1611,63 @@ function __wbg_get_imports() {
const ret = getObject(arg0).y;
return ret;
};
imports.wbg.__wbindgen_closure_wrapper1118 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1122 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 138, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1119 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1123 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 138, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1120 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1124 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 138, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1121 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1125 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 138, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1122 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1126 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 138, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper4361 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 138, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5551 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5550 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 138, __wbg_adapter_40);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5588 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5583 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 138, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5593 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5588 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 138, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5603 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5612 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 138, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5616 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5620 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 138, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5629 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5642 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 138, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5634 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5663 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 138, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5641 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5668 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 138, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5707 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5684 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 138, __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__h34841be5f80c9334(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h09f883692bfcb177(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5b6555197571146a(a: number, b: number): void;
export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h335071d988a62964(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__h31b17498312c9c13(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h035a126996d28334(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1351df9a71747fda(a: number, b: number): void;
export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h03731cd734f91d0d(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__h300dc0d07d84a78e: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d2d8549ecbb93b0: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h41ae22ad531d9936: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h400d3444ce900f34: (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__h642279166f5947c6: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2ada64135fea1be7: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h15e08225fc695b17: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb763351951ea3a64: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6106349465edcdaf: (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__hd4094d61490ee211: (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 b8d0a1a

Please sign in to comment.