| author | |
| committer | |
| log | eb183ad9febef775efabb1a4592f84d6cf088c28 |
| tree | a1d322e0bf09b8e1d2d79220ab9926b7d8eec9d2 |
| parent | 5929e5ca0ebde636dd69d52d648df8cff59e6d96 |
| signature | Commit is signed but in an unrecognized format. |
Closes https://github.com/ziglang/zig/issues/51941 files changed, 4 insertions(+), 1 deletions(-)
lib/std/meta.zig+4-1| ... | @@ -642,7 +642,10 @@ pub fn declList(comptime Namespace: type, comptime Decl: type) []const *const De | ... | @@ -642,7 +642,10 @@ pub fn declList(comptime Namespace: type, comptime Decl: type) []const *const De |
| 642 | } | 642 | } |
| 643 | } | 643 | } |
| 644 | 644 | ||
| 645 | pub fn IntType(comptime is_signed: bool, comptime bit_count: u16) type { | 645 | /// Deprecated: use Int |
| 646 | pub const IntType = Int; | ||
| 647 | |||
| 648 | pub fn Int(comptime is_signed: bool, comptime bit_count: u16) type { | ||
| 646 | return @Type(TypeInfo{ | 649 | return @Type(TypeInfo{ |
| 647 | .Int = .{ | 650 | .Int = .{ |
| 648 | .is_signed = is_signed, | 651 | .is_signed = is_signed, |