Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions api/cpp/cbindgen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ fn default_config() -> cbindgen::Config {
// therefore it is ok to reinterpret_cast
("MenuEntryModel".into(), "std::shared_ptr<slint::Model<MenuEntry>>".into()),
("Coord".into(), "float".into()),
("Channel".into(), "uint8_t".into()),
Copy link
Member

Choose a reason for hiding this comment

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

Is this still needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, otherwise it tries to use an undefined Channel type

]
.iter()
.cloned()
Expand Down Expand Up @@ -397,6 +398,7 @@ fn gen_corelib(
"MenuEntryModel",
"MenuEntryArg",
"Coord",
"Channel",
"LogicalRect",
"LogicalPoint",
"LogicalPosition",
Expand Down
1 change: 1 addition & 0 deletions internal/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ unstable-wgpu-27 = ["dep:wgpu-27"]

tr = ["dep:tr"]

32-bit-color = []
default = ["std", "unicode"]

shared-parley = ["shared-fontique", "dep:parley", "dep:skrifa"]
Expand Down
Loading
Loading