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 b2016239d182278d5af5e2aecf62d70ff7659460 (refs/heads/master)
  • Loading branch information
slint-team[bot] committed Sep 29, 2024
1 parent 7441f7e commit 050228a
Show file tree
Hide file tree
Showing 275 changed files with 1,394 additions and 1,394 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__h35e5138a16ecf833: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h06b055a28c7f4e20: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd7ee11353e361e30: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hff6d7a1f0c2d07f0: (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__h32422e7cffb50cf4: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h56e7701c8181862b: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h20c9b144cfad8a3f: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h21aad22f71ba2f57: (a: number, b: number, c: number, d: number) => void;
readonly __wbindgen_exn_store: (a: number) => void;
readonly __wbindgen_start: () => void;
}
Expand Down
142 changes: 71 additions & 71 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__h35e5138a16ecf833(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h32422e7cffb50cf4(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__h06b055a28c7f4e20(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h56e7701c8181862b(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__hd7ee11353e361e30(arg0, arg1);
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h20c9b144cfad8a3f(arg0, arg1);
}

function __wbg_adapter_49(arg0, arg1, arg2, arg3) {
wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hff6d7a1f0c2d07f0(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
function __wbg_adapter_53(arg0, arg1, arg2, arg3) {
wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h21aad22f71ba2f57(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
}

/**
Expand Down Expand Up @@ -1293,14 +1293,36 @@ function __wbg_get_imports() {
imports.wbg.__wbg_postMessage_b651e498e4c6dbf5 = function() { return handleError(function (arg0, arg1, arg2) {
getObject(arg0).postMessage(getObject(arg1), getObject(arg2));
}, arguments) };
imports.wbg.__wbg_persisted_6483200f25cdfed4 = function(arg0) {
const ret = getObject(arg0).persisted;
return ret;
};
imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) {
const ret = getObject(arg0).pointerId;
return ret;
};
imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) {
const ret = getObject(arg0).buttons;
return ret;
};
imports.wbg.__wbg_pointerType_d375491a3013a9bc = function(arg0, arg1) {
const ret = getObject(arg1).pointerType;
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len1 = WASM_VECTOR_LEN;
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
};
imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) {
getObject(arg0).setPointerCapture(arg1);
}, arguments) };
imports.wbg.__wbg_pressure_95cee3909a8549a9 = function(arg0) {
const ret = getObject(arg0).pressure;
return ret;
};
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 @@ -1325,30 +1347,8 @@ function __wbg_get_imports() {
const ret = getObject(arg0).blockSize;
return ret;
};
imports.wbg.__wbg_pointerType_d375491a3013a9bc = function(arg0, arg1) {
const ret = getObject(arg1).pointerType;
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len1 = WASM_VECTOR_LEN;
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
};
imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) {
getObject(arg0).setPointerCapture(arg1);
}, arguments) };
imports.wbg.__wbg_pressure_95cee3909a8549a9 = function(arg0) {
const ret = getObject(arg0).pressure;
return ret;
};
imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) {
const ret = getObject(arg0).buttons;
return ret;
};
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;
imports.wbg.__wbg_persisted_6483200f25cdfed4 = function(arg0) {
const ret = getObject(arg0).persisted;
return ret;
};
imports.wbg.__wbindgen_cb_drop = function(arg0) {
Expand Down Expand Up @@ -1392,15 +1392,15 @@ function __wbg_get_imports() {
imports.wbg.__wbg_close_87d69f9e9fe928c3 = function(arg0) {
getObject(arg0).close();
};
imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = function(arg0) {
queueMicrotask(takeObject(arg0));
};
imports.wbg.__wbg_disconnect_24e89f8d65ad2fd5 = function(arg0) {
getObject(arg0).disconnect();
};
imports.wbg.__wbg_disconnect_1dbf7e19d9590abd = function(arg0) {
getObject(arg0).disconnect();
};
imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = function(arg0) {
queueMicrotask(takeObject(arg0));
};
imports.wbg.__wbg_navigator_6210380287bf8581 = function(arg0) {
const ret = getObject(arg0).navigator;
return addHeapObject(ret);
Expand All @@ -1427,38 +1427,26 @@ function __wbg_get_imports() {
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
}, arguments) };
imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) {
const ret = getObject(arg0).getCoalescedEvents;
return addHeapObject(ret);
};
imports.wbg.__wbg_requestIdleCallback_86b728660e0547ef = function(arg0) {
const ret = getObject(arg0).requestIdleCallback;
return addHeapObject(ret);
};
imports.wbg.__wbg_scheduler_f38a681d98b5a776 = function(arg0) {
const ret = getObject(arg0).scheduler;
return addHeapObject(ret);
};
imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) {
const ret = getObject(arg0).requestFullscreen;
return addHeapObject(ret);
};
imports.wbg.__wbg_scheduler_f38a681d98b5a776 = function(arg0) {
const ret = getObject(arg0).scheduler;
imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) {
const ret = getObject(arg0).getCoalescedEvents;
return addHeapObject(ret);
};
imports.wbg.__wbg_requestAnimationFrame_b4b782250b9c2c88 = function() { return handleError(function (arg0, arg1) {
const ret = getObject(arg0).requestAnimationFrame(getObject(arg1));
return 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_Window_bd9ec3fee5f673ee = function(arg0) {
const ret = getObject(arg0).Window;
return addHeapObject(ret);
};
imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) {
const ret = new Worker(getStringFromWasm0(arg0, arg1));
return addHeapObject(ret);
Expand All @@ -1477,6 +1465,18 @@ function __wbg_get_imports() {
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
}, 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_Window_bd9ec3fee5f673ee = function(arg0) {
const ret = getObject(arg0).Window;
return addHeapObject(ret);
};
imports.wbg.__wbg_removeListener_0ff79f74b9d808ac = function() { return handleError(function (arg0, arg1) {
getObject(arg0).removeListener(getObject(arg1));
}, arguments) };
Expand Down Expand Up @@ -1630,63 +1630,63 @@ function __wbg_get_imports() {
const ret = getObject(arg0).visibilityState;
return {"hidden":0,"visible":1,}[ret] ?? 2;
};
imports.wbg.__wbindgen_closure_wrapper1139 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1145 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 137, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1141 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1147 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 137, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1142 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1148 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 137, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1143 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1149 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 137, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1144 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1150 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 137, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper4367 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper4368 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5594 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5596 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_40);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5632 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5634 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5636 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5645 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5646 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5655 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5657 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_49);
imports.wbg.__wbindgen_closure_wrapper5671 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5693 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5704 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5736 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37);
imports.wbg.__wbindgen_closure_wrapper5714 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_53);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5742 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5732 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5750 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5740 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 390, __wbg_adapter_37);
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__h35e5138a16ecf833(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h06b055a28c7f4e20(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd7ee11353e361e30(a: number, b: number): void;
export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hff6d7a1f0c2d07f0(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__h32422e7cffb50cf4(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h56e7701c8181862b(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h20c9b144cfad8a3f(a: number, b: number): void;
export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h21aad22f71ba2f57(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__h31c1d4df22b33761: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1cbea06501f948ca: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h483f9b2fe213276c: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h39249033b83c3c29: (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__he1b6ff0a77b2b9eb: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h53150bc6f0b613b5: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1180ba0a7048fe97: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd127f02889a17506: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0c26107e9cc34bdd: (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__hf60fd7f7f70131ed: (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 050228a

Please sign in to comment.