mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-18 05:20:29 +00:00
fix C ABI compat for ghostty_quick_terminal_size_tag_e
This commit is contained in:
@@ -7987,7 +7987,8 @@ pub const QuickTerminalSize = struct {
|
||||
tag: Tag,
|
||||
value: Value,
|
||||
|
||||
pub const Tag = enum(u8) { none, percentage, pixels };
|
||||
/// c_int because it needs to be extern compatible
|
||||
pub const Tag = enum(c_int) { none, percentage, pixels };
|
||||
|
||||
pub const Value = extern union {
|
||||
percentage: f32,
|
||||
|
||||
Reference in New Issue
Block a user