Function zeroInitConst [src]

Prototype

pub fn zeroInitConst(self: *Builder, ty: Type) Allocator.Error!Constant

Parameters

self: *Builderty: Type

Source

pub fn zeroInitConst(self: *Builder, ty: Type) Allocator.Error!Constant { try self.ensureUnusedConstantCapacity(1, Constant.Fp128, 0); try self.constant_limbs.ensureUnusedCapacity( self.gpa, Constant.Integer.limbs + comptime std.math.big.int.calcLimbLen(0), ); return self.zeroInitConstAssumeCapacity(ty); }