mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fixes missing checks to body arguments. Do not create debug declaration for value-only parameter. Bug in alignment for atomics. Macro ref parameters are pointers.
This commit is contained in:
committed by
Christoffer Lerno
parent
90d91b4891
commit
34306cbf5d
@@ -9,10 +9,10 @@ def Vec2 = double[<2>];
|
||||
def Vec3 = double[<3>];
|
||||
def Vec4 = double[<4>];
|
||||
|
||||
macro Vec2f.length_sq(&self) => self.dot(self);
|
||||
macro Vec3f.length_sq(&self) => self.dot(self);
|
||||
macro Vec4f.length_sq(&self) => self.dot(self);
|
||||
macro Vec2.length_sq(&self) => self.dot(self);
|
||||
macro Vec2f.length_sq(self) => self.dot(self);
|
||||
macro Vec3f.length_sq(self) => self.dot(self);
|
||||
macro Vec4f.length_sq(self) => self.dot(self);
|
||||
macro Vec2.length_sq(self) => self.dot(self);
|
||||
macro Vec3.length_sq(self) => self.dot(self);
|
||||
macro Vec4.length_sq(self) => self.dot(self);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user