diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-02-01 13:20:28 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-01 13:20:28 -0500 |
| commit | 3e99495ed8d2a384501338edb4885e709d51bf74 (patch) | |
| tree | 1cd6338398a9a011e5144fe8d29c4991acf84e13 /lib/std/builtin.zig | |
| parent | 0298442100b2d5707099f09d29af554e8c6ac87e (diff) | |
| parent | 39983d7ff524a3e1e25dbd6904e28a6dd11120e6 (diff) | |
| download | zig-3e99495ed8d2a384501338edb4885e709d51bf74.tar.gz zig-3e99495ed8d2a384501338edb4885e709d51bf74.zip | |
Merge pull request #10742 from ziglang/ArrayHashMapEql
std: make ArrayHashMap eql function accept an additional param
Diffstat (limited to 'lib/std/builtin.zig')
| -rw-r--r-- | lib/std/builtin.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig index e4ab6d7e8f..7c37fa7616 100644 --- a/lib/std/builtin.zig +++ b/lib/std/builtin.zig @@ -203,12 +203,14 @@ pub const TypeInfo = union(enum) { /// therefore must be kept in sync with the compiler implementation. pub const Int = struct { signedness: Signedness, + /// TODO make this u16 instead of comptime_int bits: comptime_int, }; /// This data structure is used by the Zig language code generation and /// therefore must be kept in sync with the compiler implementation. pub const Float = struct { + /// TODO make this u16 instead of comptime_int bits: comptime_int, }; @@ -218,6 +220,7 @@ pub const TypeInfo = union(enum) { size: Size, is_const: bool, is_volatile: bool, + /// TODO make this u16 instead of comptime_int alignment: comptime_int, address_space: AddressSpace, child: type, |
