all: use explicit backing integers for packed structs
This commit is contained in:
parent
4ebf238c5e
commit
266b651b34
9 changed files with 18 additions and 18 deletions
|
|
@ -29,7 +29,7 @@ pub const Buffer = opaque {
|
|||
unmapped_before_callback = 0x00000005,
|
||||
};
|
||||
|
||||
pub const UsageFlags = packed struct {
|
||||
pub const UsageFlags = packed struct(u32) {
|
||||
map_read: bool = false,
|
||||
map_write: bool = false,
|
||||
copy_src: bool = false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue