mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Update to constdef
This commit is contained in:
committed by
Christoffer Lerno
parent
0387d7666d
commit
5a82f672b5
@@ -91,7 +91,7 @@ macro @simd_degree() @local
|
||||
}
|
||||
|
||||
<* Flags used during hash computation based on its state. *>
|
||||
const enum Blake3Flags : inline char
|
||||
constdef Blake3Flags : inline char
|
||||
{
|
||||
CHUNK_START = 1 << 0,
|
||||
CHUNK_END = 1 << 1,
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
module std::hash::streebog;
|
||||
|
||||
|
||||
const enum StreebogLength : inline uint
|
||||
constdef StreebogLength : inline uint
|
||||
{
|
||||
SIZE_256 = 32,
|
||||
SIZE_512 = 64,
|
||||
|
||||
Reference in New Issue
Block a user