mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix regression for parsing types and switch to the "new" generic syntax that's being tested.
This commit is contained in:
@@ -34,9 +34,9 @@ struct Sha256
|
||||
char[BLOCK_SIZE] buffer;
|
||||
}
|
||||
|
||||
def HmacSha256 = Hmac(<Sha256, HASH_SIZE, BLOCK_SIZE>);
|
||||
def hmac = hmac::hash(<Sha256, HASH_SIZE, BLOCK_SIZE>);
|
||||
def pbkdf2 = hmac::pbkdf2(<Sha256, HASH_SIZE, BLOCK_SIZE>);
|
||||
def HmacSha256 = Hmac<[Sha256, HASH_SIZE, BLOCK_SIZE]>;
|
||||
def hmac = hmac::hash<[Sha256, HASH_SIZE, BLOCK_SIZE]>;
|
||||
def pbkdf2 = hmac::pbkdf2<[Sha256, HASH_SIZE, BLOCK_SIZE]>;
|
||||
|
||||
fn char[HASH_SIZE] hash(char[] data)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user