mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 14:25:16 +00:00
rename std.meta.IntType to std.meta.Int
Closes https://github.com/ziglang/zig/issues/5194
This commit is contained in:
parent
5929e5ca0e
commit
eb183ad9fe
@ -642,7 +642,10 @@ pub fn declList(comptime Namespace: type, comptime Decl: type) []const *const De
|
||||
}
|
||||
}
|
||||
|
||||
pub fn IntType(comptime is_signed: bool, comptime bit_count: u16) type {
|
||||
/// Deprecated: use Int
|
||||
pub const IntType = Int;
|
||||
|
||||
pub fn Int(comptime is_signed: bool, comptime bit_count: u16) type {
|
||||
return @Type(TypeInfo{
|
||||
.Int = .{
|
||||
.is_signed = is_signed,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user