| author | |
| committer | |
| log | ee5b358d71d544b06070681b245c9f1bad8b1a99 |
| tree | 85e1137e4aa2339ef0d0130728f7279d61abe147 |
| parent | 249938dde060acf129d829bbe4e3bc097428c5a7 |
| signature | Commit is signed but in an unrecognized format. |
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 | |||
| 654 | pub fn Vector(comptime len: u32, comptime child: type) type { | ||
| 655 | return @Type(TypeInfo{ | ||
| 656 | .Vector = .{ | ||
| 657 | .len = len, | ||
| 658 | .child = child, | ||
| 659 | }, | ||
| 660 | }); | ||
| 661 | } |