Skip to content

Conversation

@ogoffart
Copy link
Member

@ogoffart ogoffart commented Jan 5, 2026

As discussed in the API review meeting.

This reverts commit 70e102e.

We decided in the API review to not re-export everything, but be more
selective

 Conflicts:
	api/rs/slint/lib.rs
	internal/interpreter/api.rs
Reapply some part of 70e102e

The idea is that the common things are re-exported from i_slint_core::api
@ogoffart ogoffart requested a review from tronical January 5, 2026 10:18
#[deprecated(note = "Experimental type was made public by mistake")]
pub use i_slint_core::component_factory::ComponentFactory;
#[cfg(not(target_arch = "wasm32"))]
pub use i_slint_core::graphics::{BorrowedOpenGLTextureBuilder, BorrowedOpenGLTextureOrigin};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be easier if this was also in api.rs in core?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently it is not exposed in the interpreter. Should it?

@ogoffart ogoffart merged commit 496f0b8 into master Jan 6, 2026
41 checks passed
@ogoffart ogoffart deleted the olivier/api branch January 6, 2026 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants