mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 22:01:13 +00:00
internal cleanup: Remove the use of ComponentWindow in the interpreter
This commit is contained in:
parent
ef184f7f1a
commit
1c285694d7
11 changed files with 45 additions and 50 deletions
|
@ -29,7 +29,7 @@ pub unsafe extern "C" fn sixtyfps_component_window_init(out: *mut ComponentWindo
|
|||
core::mem::size_of::<ComponentWindow>(),
|
||||
core::mem::size_of::<ComponentWindowOpaque>()
|
||||
);
|
||||
core::ptr::write(out as *mut ComponentWindow, crate::backend().create_window());
|
||||
core::ptr::write(out as *mut ComponentWindow, crate::backend().create_window().into());
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue