fix C ABI compat for ghostty_quick_terminal_size_tag_e
parent
08c9661683
commit
aa0afa2d02
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue