Core: match sizeof etc. syntax with C, Core RTS: Beautifying + animations
This commit is contained in:
@@ -42,9 +42,9 @@ Release :: (a: *Arena)
|
||||
OS.Release(&a.memory)
|
||||
|
||||
PushArray :: (a: *Arena, count: int, $T: Type): *T
|
||||
result := PushSize(a, SizeOf(T) * count->U64)
|
||||
result := PushSize(a, sizeof(T) * count->U64)
|
||||
return result->*T
|
||||
|
||||
PushStruct :: (a: *Arena, $T: Type): *T
|
||||
result := PushSize(a, SizeOf(T))
|
||||
result := PushSize(a, sizeof(T))
|
||||
return result->*T
|
||||
Reference in New Issue
Block a user