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,
|
tag: Tag,
|
||||||
value: Value,
|
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 {
|
pub const Value = extern union {
|
||||||
percentage: f32,
|
percentage: f32,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue