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 14adc2af2f43d09e29203e4634fea4ca570ac47d (refs/heads/master)
  • Loading branch information
slint-team[bot] committed Nov 5, 2024
1 parent 8ef6aa8 commit 8306a33
Show file tree
Hide file tree
Showing 295 changed files with 1,531 additions and 1,414 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.
4 changes: 2 additions & 2 deletions snapshots/master/demos/carousel/pkg/carousel.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ export interface InitOutput {
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
readonly __wbindgen_export_2: WebAssembly.Table;
readonly __wbindgen_export_3: WebAssembly.Table;
readonly closure148_externref_shim: (a: number, b: number, c: number) => void;
readonly closure149_externref_shim: (a: number, b: number, c: number) => void;
readonly closure412_externref_shim: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4c1cd91b2649cd67: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he9f296b3a018ea8a: (a: number, b: number) => void;
readonly closure426_externref_shim: (a: number, b: number, c: number, d: number) => void;
readonly __wbindgen_exn_store: (a: number) => void;
readonly __externref_table_alloc: () => number;
Expand Down
108 changes: 54 additions & 54 deletions snapshots/master/demos/carousel/pkg/carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ function makeClosure(arg0, arg1, dtor, f) {
return real;
}
function __wbg_adapter_28(arg0, arg1, arg2) {
wasm.closure148_externref_shim(arg0, arg1, arg2);
wasm.closure149_externref_shim(arg0, arg1, arg2);
}

function makeMutClosure(arg0, arg1, dtor, f) {
Expand Down Expand Up @@ -212,7 +212,7 @@ function __wbg_adapter_39(arg0, arg1, arg2) {
}

function __wbg_adapter_42(arg0, arg1) {
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4c1cd91b2649cd67(arg0, arg1);
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he9f296b3a018ea8a(arg0, arg1);
}

function __wbg_adapter_59(arg0, arg1, arg2, arg3) {
Expand Down Expand Up @@ -893,9 +893,6 @@ function __wbg_get_imports() {
const ret = result;
return ret;
};
imports.wbg.__wbg_log_2f54632e0e18c089 = function(arg0, arg1) {
console.log(getStringFromWasm0(arg0, arg1));
};
imports.wbg.__wbg_naturalWidth_0d51c4a40cefbf30 = function(arg0) {
const ret = arg0.naturalWidth;
return ret;
Expand All @@ -911,6 +908,9 @@ function __wbg_get_imports() {
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
};
imports.wbg.__wbg_log_2f54632e0e18c089 = function(arg0, arg1) {
console.log(getStringFromWasm0(arg0, arg1));
};
imports.wbg.__wbg_cullFace_e6b0b54ef3b7307c = function(arg0, arg1) {
arg0.cullFace(arg1 >>> 0);
};
Expand Down Expand Up @@ -1268,8 +1268,8 @@ function __wbg_get_imports() {
const ret = arg0.requestIdleCallback(arg1);
return ret;
}, arguments) };
imports.wbg.__wbg_matches_7df350fbe7beb09f = function(arg0) {
const ret = arg0.matches;
imports.wbg.__wbg_isIntersecting_57d03835f2fb0c18 = function(arg0) {
const ret = arg0.isIntersecting;
return ret;
};
imports.wbg.__wbg_pointerType_6d91ef0da43639d3 = function(arg0, arg1) {
Expand All @@ -1283,6 +1283,10 @@ function __wbg_get_imports() {
const ret = arg0.pointerId;
return ret;
};
imports.wbg.__wbg_persisted_af13b0ad7952721a = function(arg0) {
const ret = arg0.persisted;
return ret;
};
imports.wbg.__wbg_pressure_ad8dacbd14c9076f = function(arg0) {
const ret = arg0.pressure;
return ret;
Expand All @@ -1291,17 +1295,9 @@ function __wbg_get_imports() {
const ret = arg0.buttons;
return ret;
};
imports.wbg.__wbg_isIntersecting_57d03835f2fb0c18 = function(arg0) {
const ret = arg0.isIntersecting;
return ret;
};
imports.wbg.__wbg_setPointerCapture_739b13a4c8b0c2b0 = function() { return handleError(function (arg0, arg1) {
arg0.setPointerCapture(arg1);
}, arguments) };
imports.wbg.__wbg_persisted_af13b0ad7952721a = function(arg0) {
const ret = arg0.persisted;
return ret;
};
imports.wbg.__wbg_contentRect_0ff902e25b5b4c7a = function(arg0) {
const ret = arg0.contentRect;
return ret;
Expand All @@ -1326,6 +1322,10 @@ function __wbg_get_imports() {
const ret = arg0.blockSize;
return ret;
};
imports.wbg.__wbg_matches_7df350fbe7beb09f = function(arg0) {
const ret = arg0.matches;
return ret;
};
imports.wbg.__wbindgen_cb_drop = function(arg0) {
const obj = arg0.original;
if (obj.cnt-- == 1) {
Expand Down Expand Up @@ -1384,10 +1384,18 @@ function __wbg_get_imports() {
imports.wbg.__wbg_close_8356c7a6c6893135 = function(arg0) {
arg0.close();
};
imports.wbg.__wbg_new_00d033f8a8736a28 = function() { return handleError(function (arg0, arg1) {
const ret = new Worker(getStringFromWasm0(arg0, arg1));
imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) {
const ret = arg0.Window;
return ret;
}, arguments) };
};
imports.wbg.__wbg_prototype_d33365945f23f380 = function() {
const ret = ResizeObserverEntry.prototype;
return ret;
};
imports.wbg.__wbg_getOwnPropertyDescriptor_419345cdc0d1ec14 = function(arg0, arg1) {
const ret = Object.getOwnPropertyDescriptor(arg0, arg1);
return ret;
};
imports.wbg.__wbg_settype_623d2ee701e6310a = function(arg0, arg1, arg2) {
arg0.type = getStringFromWasm0(arg1, arg2);
};
Expand All @@ -1402,44 +1410,36 @@ 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 ret;
};
imports.wbg.__wbg_getOwnPropertyDescriptor_419345cdc0d1ec14 = function(arg0, arg1) {
const ret = Object.getOwnPropertyDescriptor(arg0, arg1);
imports.wbg.__wbg_new_00d033f8a8736a28 = function() { return handleError(function (arg0, arg1) {
const ret = new Worker(getStringFromWasm0(arg0, arg1));
return ret;
};
imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) {
const ret = arg0.Window;
}, arguments) };
imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) {
const ret = arg0.getCoalescedEvents;
return ret;
};
imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) {
const ret = arg0.requestFullscreen;
return ret;
};
imports.wbg.__wbg_scheduler_f38a681d98b5a776 = function(arg0) {
const ret = arg0.scheduler;
return ret;
};
imports.wbg.__wbg_requestIdleCallback_86b728660e0547ef = function(arg0) {
const ret = arg0.requestIdleCallback;
return ret;
};
imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) {
const ret = arg0.getCoalescedEvents;
imports.wbg.__wbg_scheduler_f38a681d98b5a776 = function(arg0) {
const ret = arg0.scheduler;
return ret;
};
imports.wbg.__wbg_removeListener_0e5684bf9a4fe773 = function() { return handleError(function (arg0, arg1) {
arg0.removeListener(arg1);
}, arguments) };
imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = typeof queueMicrotask == 'function' ? queueMicrotask : notDefined('queueMicrotask');
imports.wbg.__wbg_disconnect_8d41ebc92b193580 = function(arg0) {
arg0.disconnect();
};
imports.wbg.__wbg_disconnect_91f6e3e629264c78 = function(arg0) {
arg0.disconnect();
};
imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = typeof queueMicrotask == 'function' ? queueMicrotask : notDefined('queueMicrotask');
imports.wbg.__wbg_requestAnimationFrame_8c3436f4ac89bc48 = function() { return handleError(function (arg0, arg1) {
const ret = arg0.requestAnimationFrame(arg1);
return ret;
Expand Down Expand Up @@ -1601,63 +1601,63 @@ function __wbg_get_imports() {
const ret = arg0.getCoalescedEvents();
return ret;
};
imports.wbg.__wbindgen_closure_wrapper1151 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 149, __wbg_adapter_28);
imports.wbg.__wbindgen_closure_wrapper1155 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 150, __wbg_adapter_28);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper1153 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 149, __wbg_adapter_28);
imports.wbg.__wbindgen_closure_wrapper1157 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 150, __wbg_adapter_28);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper1154 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 149, __wbg_adapter_28);
imports.wbg.__wbindgen_closure_wrapper1158 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 150, __wbg_adapter_28);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper1155 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 149, __wbg_adapter_28);
imports.wbg.__wbindgen_closure_wrapper1159 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 150, __wbg_adapter_28);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper1156 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 149, __wbg_adapter_28);
imports.wbg.__wbindgen_closure_wrapper1160 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 150, __wbg_adapter_28);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper4688 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper4700 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 413, __wbg_adapter_39);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper5975 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper5987 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 413, __wbg_adapter_42);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper6016 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper6020 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 413, __wbg_adapter_39);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper6022 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper6037 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 413, __wbg_adapter_39);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper6033 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper6043 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 413, __wbg_adapter_39);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper6040 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper6048 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 413, __wbg_adapter_39);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper6047 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper6054 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 413, __wbg_adapter_39);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper6070 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper6060 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 413, __wbg_adapter_39);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper6109 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper6064 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 413, __wbg_adapter_39);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper6116 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper6110 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 413, __wbg_adapter_59);
return ret;
};
Expand Down
Binary file modified snapshots/master/demos/carousel/pkg/carousel_bg.wasm
Binary file not shown.
4 changes: 2 additions & 2 deletions snapshots/master/demos/carousel/pkg/carousel_bg.wasm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ 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 const __wbindgen_export_3: WebAssembly.Table;
export function closure148_externref_shim(a: number, b: number, c: number): void;
export function closure149_externref_shim(a: number, b: number, c: number): void;
export function closure412_externref_shim(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4c1cd91b2649cd67(a: number, b: number): void;
export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he9f296b3a018ea8a(a: number, b: number): void;
export function closure426_externref_shim(a: number, b: number, c: number, d: number): void;
export function __wbindgen_exn_store(a: number): void;
export function __externref_table_alloc(): number;
Expand Down
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 @@ -16,11 +16,11 @@ export interface InitOutput {
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
readonly __wbindgen_export_2: WebAssembly.Table;
readonly __wbindgen_export_3: WebAssembly.Table;
readonly closure3440_externref_shim: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfecb0d26d965c223: (a: number, b: number) => void;
readonly closure4000_externref_shim: (a: number, b: number, c: number) => void;
readonly closure4001_externref_shim: (a: number, b: number, c: number, d: number) => void;
readonly closure4055_externref_shim: (a: number, b: number, c: number) => void;
readonly closure3567_externref_shim: (a: number, b: number, c: number) => void;
readonly closure4001_externref_shim: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hac3fa95e7d2b078a: (a: number, b: number) => void;
readonly closure4002_externref_shim: (a: number, b: number, c: number, d: number) => void;
readonly closure4057_externref_shim: (a: number, b: number, c: number) => void;
readonly __externref_table_alloc: () => number;
readonly __wbindgen_exn_store: (a: number) => void;
readonly __wbindgen_start: () => void;
Expand Down
Loading

0 comments on commit 8306a33

Please sign in to comment.