| ... | ... | @@ -8,7 +8,6 @@ pub const EdidOverrideProtocol = extern struct { |
| 8 | 8 | _get_edid: fn (*const EdidOverrideProtocol, Handle, *u32, *usize, *?[*]u8) callconv(.C) Status, |
| 9 | 9 | |
| 10 | 10 | /// Returns policy information and potentially a replacement EDID for the specified video output device. |
| 11 | | /// attributes must be align(4) |
| 12 | 11 | pub fn getEdid(self: *const EdidOverrideProtocol, handle: Handle, attributes: *EdidOverrideProtocolAttributes, edid_size: *usize, edid: *?[*]u8) Status { |
| 13 | 12 | return self._get_edid(self, handle, attributes, edid_size, edid); |
| 14 | 13 | } |
| ... | ... | @@ -24,7 +23,7 @@ pub const EdidOverrideProtocol = extern struct { |
| 24 | 23 | }; |
| 25 | 24 | |
| 26 | 25 | pub const EdidOverrideProtocolAttributes = packed struct { |
| 27 | | dont_override: bool, |
| 26 | dont_override: bool align(4), |
| 28 | 27 | enable_hot_plug: bool, |
| 29 | 28 | _pad: u30 = 0, |
| 30 | 29 | }; |