authorgravatar for me@tadeo.caTadeo Kondrak <me@tadeo.ca> 2020-04-27 23:45:54-06:00
committergravatar for me@tadeo.caTadeo Kondrak <me@tadeo.ca> 2020-04-28 00:24:46-06:00
logee5b358d71d544b06070681b245c9f1bad8b1a99
tree85e1137e4aa2339ef0d0130728f7279d61abe147
parent249938dde060acf129d829bbe4e3bc097428c5a7
signature Commit is signed but in an unrecognized format.

add std.meta.Vector to replace @Vector


1 files changed, 9 insertions(+), 0 deletions(-)

lib/std/meta.zig+9
...@@ -650,3 +650,12 @@ pub fn IntType(comptime is_signed: bool, comptime bit_count: u16) type {...@@ -650,3 +650,12 @@ pub fn IntType(comptime is_signed: bool, comptime bit_count: u16) type {
650 },650 },
651 });651 });
652}652}
653
654pub fn Vector(comptime len: u32, comptime child: type) type {
655 return @Type(TypeInfo{
656 .Vector = .{
657 .len = len,
658 .child = child,
659 },
660 });
661}