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 063d976d28bd4cfc8b0a21056e124568069f5c36 (refs/heads/master)
  • Loading branch information
slint-team[bot] committed Aug 31, 2024
1 parent 5950840 commit ff31b32
Show file tree
Hide file tree
Showing 101 changed files with 1,153 additions and 1,143 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__h04207bb7d3b01660: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0cf61370328d7549: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbd99af6b82262e1e: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7464948ae24f56a5: (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__h07ef8824361d9ba2: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h098d8f30f40ca849: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he619b95dde3983c1: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbc3c45c665e2b94c: (a: number, b: number, c: number, d: number) => void;
readonly __wbindgen_exn_store: (a: number) => void;
readonly __wbindgen_start: () => void;
}
Expand Down
134 changes: 67 additions & 67 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__h04207bb7d3b01660(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h07ef8824361d9ba2(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__h0cf61370328d7549(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h098d8f30f40ca849(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__hbd99af6b82262e1e(arg0, arg1);
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he619b95dde3983c1(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__h7464948ae24f56a5(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
function __wbg_adapter_51(arg0, arg1, arg2, arg3) {
wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbc3c45c665e2b94c(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
}

/**
Expand Down Expand Up @@ -1142,15 +1142,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_095ef1e6c9d8d8ab = 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 @@ -1295,8 +1286,8 @@ 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;
imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) {
const ret = getObject(arg0).pointerId;
return ret;
};
imports.wbg.__wbg_pointerType_d375491a3013a9bc = function(arg0, arg1) {
Expand All @@ -1306,23 +1297,12 @@ function __wbg_get_imports() {
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
};
imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) {
const ret = getObject(arg0).pointerId;
return ret;
};
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_isIntersecting_7cba11b732bde6a7 = function(arg0) {
const ret = getObject(arg0).isIntersecting;
imports.wbg.__wbg_matches_42eb40a28a316d0e = function(arg0) {
const ret = getObject(arg0).matches;
return ret;
};
imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) {
Expand All @@ -1349,26 +1329,30 @@ function __wbg_get_imports() {
const ret = getObject(arg0).blockSize;
return ret;
};
imports.wbg.__wbg_matches_42eb40a28a316d0e = function(arg0) {
const ret = getObject(arg0).matches;
imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) {
const ret = getObject(arg0).isIntersecting;
return ret;
};
imports.wbg.__wbg_prototype_d33365945f23f380 = function() {
const ret = ResizeObserverEntry.prototype;
return addHeapObject(ret);
imports.wbg.__wbg_persisted_6483200f25cdfed4 = function(arg0) {
const ret = getObject(arg0).persisted;
return ret;
};
imports.wbg.__wbg_getOwnPropertyDescriptor_104555bb47552c24 = function(arg0, arg1) {
const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1));
return addHeapObject(ret);
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_Window_bd9ec3fee5f673ee = function(arg0) {
const ret = getObject(arg0).Window;
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_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) {
const ret = new Worker(getStringFromWasm0(arg0, arg1));
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) {
getObject(arg0).type = getStringFromWasm0(arg1, arg2);
};
Expand All @@ -1383,6 +1367,22 @@ function __wbg_get_imports() {
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
}, arguments) };
imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) {
const ret = new Worker(getStringFromWasm0(arg0, arg1));
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) {
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_button_460cdec9f2512a91 = function(arg0) {
const ret = getObject(arg0).button;
return ret;
Expand Down Expand Up @@ -1556,22 +1556,22 @@ function __wbg_get_imports() {
const ret = getObject(arg0).y;
return 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;
return addHeapObject(ret);
};
imports.wbg.__wbg_requestIdleCallback_86b728660e0547ef = function(arg0) {
const ret = getObject(arg0).requestIdleCallback;
imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) {
const ret = getObject(arg0).requestFullscreen;
return addHeapObject(ret);
};
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_queueMicrotask_693514e3dcae83e6 = function(arg0) {
queueMicrotask(takeObject(arg0));
};
Expand Down Expand Up @@ -1623,64 +1623,64 @@ function __wbg_get_imports() {
const ret = getObject(arg0).requestAnimationFrame(getObject(arg1));
return ret;
}, arguments) };
imports.wbg.__wbindgen_closure_wrapper1128 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1125 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 144, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1130 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1127 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 144, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1131 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1128 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 144, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1132 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1129 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 144, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1133 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1130 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 144, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper4336 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper4335 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 385, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5553 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5551 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 385, __wbg_adapter_40);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5588 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5584 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 385, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5599 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5600 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 385, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5606 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5607 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 385, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5643 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5627 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 385, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5658 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 385, __wbg_adapter_37);
imports.wbg.__wbindgen_closure_wrapper5650 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 385, __wbg_adapter_51);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5678 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5659 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 385, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5684 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5667 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 385, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5691 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 385, __wbg_adapter_57);
imports.wbg.__wbindgen_closure_wrapper5695 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 385, __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__h04207bb7d3b01660(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0cf61370328d7549(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbd99af6b82262e1e(a: number, b: number): void;
export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7464948ae24f56a5(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__h07ef8824361d9ba2(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h098d8f30f40ca849(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he619b95dde3983c1(a: number, b: number): void;
export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbc3c45c665e2b94c(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__h2cb18aeed8802a2c: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0038e8288f8958dd: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3ceef3a317a7af22: (a: number, b: number, c: number, d: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6f8d6cab60dd58e3: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he81efcf73dff01e8: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h20f3ef7febac48da: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0071ef033b4b5ffa: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb31d543ebeae0d4a: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0644d3a58f6c0e70: (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__h56addc976c5f4662: (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 ff31b32

Please sign in to comment.