rename std.meta.IntType to std.meta.Int

Closes https://github.com/ziglang/zig/issues/5194
This commit is contained in:
Tadeo Kondrak 2020-04-28 19:06:48 -06:00
parent 5929e5ca0e
commit eb183ad9fe
No known key found for this signature in database
GPG Key ID: D41E092CA43F1D8B

View File

@ -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,