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 6472ab841612c05f0996bfd277e157085b7fcbff (refs/heads/master)
  • Loading branch information
slint-team[bot] committed Aug 29, 2024
1 parent 8359c58 commit beafd14
Show file tree
Hide file tree
Showing 95 changed files with 785 additions and 779 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.
2 changes: 1 addition & 1 deletion snapshots/master/demos/carousel/pkg/carousel.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ 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__h4b18367ee0d00e0d: (a: number, b: number, c: number) => void;
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;
Expand Down
80 changes: 40 additions & 40 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__h4b18367ee0d00e0d(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h04207bb7d3b01660(arg0, arg1, addHeapObject(arg2));
}

function makeMutClosure(arg0, arg1, dtor, f) {
Expand Down Expand Up @@ -883,40 +883,6 @@ function __wbg_get_imports() {
imports.wbg.__wbg_setfillStyle_98060f7b257936ba = function(arg0, arg1) {
getObject(arg0).fillStyle = getObject(arg1);
};
imports.wbg.__wbg_setwidth_c20f1f8fcd5d93b4 = function(arg0, arg1) {
getObject(arg0).width = arg1 >>> 0;
};
imports.wbg.__wbg_setheight_a5e39c9d97429299 = function(arg0, arg1) {
getObject(arg0).height = arg1 >>> 0;
};
imports.wbg.__wbg_newwithu8clampedarray_6b29095634b7e758 = function() { return handleError(function (arg0, arg1, arg2) {
const ret = new ImageData(getClampedArrayU8FromWasm0(arg0, arg1), arg2 >>> 0);
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_putImageData_7efd311e1a7128a9 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
getObject(arg0).putImageData(getObject(arg1), arg2, arg3, arg4, arg5, arg6, arg7);
}, arguments) };
imports.wbg.__wbg_putImageData_89e1d9db3c960ccc = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
getObject(arg0).putImageData(getObject(arg1), arg2, arg3, arg4, arg5, arg6, arg7);
}, arguments) };
imports.wbg.__wbg_querySelector_e21c39150aa72078 = function() { return handleError(function (arg0, arg1, arg2) {
const ret = getObject(arg0).querySelector(getStringFromWasm0(arg1, arg2));
return isLikeNone(ret) ? 0 : addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_getContext_bd2ece8a59fd4732 = function() { return handleError(function (arg0, arg1, arg2) {
const ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2));
return isLikeNone(ret) ? 0 : addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_instanceof_OffscreenCanvasRenderingContext2d_13fa7878f281819d = function(arg0) {
let result;
try {
result = getObject(arg0) instanceof OffscreenCanvasRenderingContext2D;
} catch (_) {
result = false;
}
const ret = result;
return ret;
};
imports.wbg.__wbg_data_ee8c1a738c70cbe1 = function(arg0, arg1) {
const ret = getObject(arg1).data;
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
Expand Down Expand Up @@ -990,6 +956,40 @@ function __wbg_get_imports() {
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
}, arguments) };
imports.wbg.__wbg_setwidth_c20f1f8fcd5d93b4 = function(arg0, arg1) {
getObject(arg0).width = arg1 >>> 0;
};
imports.wbg.__wbg_setheight_a5e39c9d97429299 = function(arg0, arg1) {
getObject(arg0).height = arg1 >>> 0;
};
imports.wbg.__wbg_newwithu8clampedarray_6b29095634b7e758 = function() { return handleError(function (arg0, arg1, arg2) {
const ret = new ImageData(getClampedArrayU8FromWasm0(arg0, arg1), arg2 >>> 0);
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_putImageData_7efd311e1a7128a9 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
getObject(arg0).putImageData(getObject(arg1), arg2, arg3, arg4, arg5, arg6, arg7);
}, arguments) };
imports.wbg.__wbg_putImageData_89e1d9db3c960ccc = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
getObject(arg0).putImageData(getObject(arg1), arg2, arg3, arg4, arg5, arg6, arg7);
}, arguments) };
imports.wbg.__wbg_querySelector_e21c39150aa72078 = function() { return handleError(function (arg0, arg1, arg2) {
const ret = getObject(arg0).querySelector(getStringFromWasm0(arg1, arg2));
return isLikeNone(ret) ? 0 : addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_getContext_bd2ece8a59fd4732 = function() { return handleError(function (arg0, arg1, arg2) {
const ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2));
return isLikeNone(ret) ? 0 : addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_instanceof_OffscreenCanvasRenderingContext2d_13fa7878f281819d = function(arg0) {
let result;
try {
result = getObject(arg0) instanceof OffscreenCanvasRenderingContext2D;
} catch (_) {
result = false;
}
const ret = result;
return ret;
};
imports.wbg.__wbg_log_5766f8130e3dc687 = function(arg0, arg1) {
console.log(getStringFromWasm0(arg0, arg1));
};
Expand Down Expand Up @@ -1624,23 +1624,23 @@ function __wbg_get_imports() {
return ret;
}, arguments) };
imports.wbg.__wbindgen_closure_wrapper1128 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 143, __wbg_adapter_26);
const ret = makeClosure(arg0, arg1, 144, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1130 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 143, __wbg_adapter_26);
const ret = makeClosure(arg0, arg1, 144, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1131 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 143, __wbg_adapter_26);
const ret = makeClosure(arg0, arg1, 144, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1132 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 143, __wbg_adapter_26);
const ret = makeClosure(arg0, arg1, 144, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1133 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 143, __wbg_adapter_26);
const ret = makeClosure(arg0, arg1, 144, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper4336 = function(arg0, arg1, arg2) {
Expand Down
Binary file modified snapshots/master/demos/carousel/pkg/carousel_bg.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion snapshots/master/demos/carousel/pkg/carousel_bg.wasm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ 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__h4b18367ee0d00e0d(a: number, b: number, c: number): void;
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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ 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__h14d1940caa243216: (a: number, b: number, c: number) => void;
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;
Expand Down
62 changes: 31 additions & 31 deletions snapshots/master/demos/energy-monitor/pkg/energy_monitor.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__h14d1940caa243216(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2cb18aeed8802a2c(arg0, arg1, addHeapObject(arg2));
}

function makeMutClosure(arg0, arg1, dtor, f) {
Expand Down Expand Up @@ -1677,64 +1677,64 @@ function __wbg_get_imports() {
const ret = wasm.memory;
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper7647 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3483, __wbg_adapter_26);
imports.wbg.__wbindgen_closure_wrapper7736 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3500, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper7649 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3483, __wbg_adapter_26);
imports.wbg.__wbindgen_closure_wrapper7738 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3500, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper7651 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3483, __wbg_adapter_26);
imports.wbg.__wbindgen_closure_wrapper7740 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3500, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper7653 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3483, __wbg_adapter_26);
imports.wbg.__wbindgen_closure_wrapper7742 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3500, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper7655 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3483, __wbg_adapter_26);
imports.wbg.__wbindgen_closure_wrapper7744 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 3500, __wbg_adapter_26);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9167 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3958, __wbg_adapter_37);
imports.wbg.__wbindgen_closure_wrapper9168 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3959, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9169 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3958, __wbg_adapter_37);
imports.wbg.__wbindgen_closure_wrapper9170 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3959, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9172 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3958, __wbg_adapter_37);
imports.wbg.__wbindgen_closure_wrapper9173 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3959, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9174 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3958, __wbg_adapter_37);
imports.wbg.__wbindgen_closure_wrapper9175 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3959, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9176 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3958, __wbg_adapter_46);
imports.wbg.__wbindgen_closure_wrapper9177 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3959, __wbg_adapter_46);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9183 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3958, __wbg_adapter_37);
imports.wbg.__wbindgen_closure_wrapper9184 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3959, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9185 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3958, __wbg_adapter_51);
imports.wbg.__wbindgen_closure_wrapper9186 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3959, __wbg_adapter_51);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9195 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3958, __wbg_adapter_37);
imports.wbg.__wbindgen_closure_wrapper9196 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3959, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9200 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3958, __wbg_adapter_37);
imports.wbg.__wbindgen_closure_wrapper9201 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3959, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper9850 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3990, __wbg_adapter_58);
imports.wbg.__wbindgen_closure_wrapper9851 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3991, __wbg_adapter_58);
return addHeapObject(ret);
};

Expand Down
Binary file modified snapshots/master/demos/energy-monitor/pkg/energy_monitor_bg.wasm
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ 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__h14d1940caa243216(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2cb18aeed8802a2c(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0038e8288f8958dd(a: number, b: number, c: number): void;
export function _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;
export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6f8d6cab60dd58e3(a: number, b: number): void;
Expand Down
2 changes: 1 addition & 1 deletion snapshots/master/demos/gallery/pkg/cosmic/gallery.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ 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__h17c70d405684e9ea: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h137179f4ad46dcf7: (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;
Expand Down
Loading

0 comments on commit beafd14

Please sign in to comment.