Require parentheses for #align(N)

This commit is contained in:
gingerBill committed 2023-08-15 14:55:02 +01:00
1 parent 098d1d2b5e
commit 2cc22d118d
17 files changed
+63 -48

No files matched your search

+1 -1
View File
@@ -124,7 +124,7 @@ Allocation_Header :: struct #raw_union {
requested: u64,
}
Region_Header :: struct #align 16 {
Region_Header :: struct #align(16) {
next_region: ^Region, // points to next region in global_heap (linked list)
local_addr: ^^Region, // tracks region ownership via address of _local_region
reset_addr: ^^Region, // tracks old local addr for reset