diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-10-15 18:04:24 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-10-15 18:04:24 +0200 |
| commit | faa9222fefc831963dd258e3c040333e6d580bb0 (patch) | |
| tree | 586b0341c726a27177cbaafd6836edb0e11638c3 /src/types.cpp | |
| parent | 4b8751bebdbf40528c2af8ff5a4ef38c1ab429cc (diff) | |
Set minimum #load(file, type) alignment to 16 bytes
Diffstat (limited to 'src/types.cpp')
| -rw-r--r-- | src/types.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/types.cpp b/src/types.cpp index cb830d08d..bf668e5f6 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -2,6 +2,9 @@ struct Ast; struct Scope; struct Entity; +// NOTE(Jeroen): Minimum alignment for #load(file, <type>) slices +#define MINIMUM_SLICE_ALIGNMENT 16 + enum BasicKind { Basic_Invalid, |