mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
Better lowering of distinct types. Noreturn function call expr recognized as a "jump" for escape analysis. Preferring "def" in libs. To upper / to lower for ascii. Initial dynlib support.
This commit is contained in:
committed by
Christoffer Lerno
parent
a877d4458c
commit
ddd0497922
@@ -6,9 +6,9 @@ struct Random
|
||||
void* state;
|
||||
}
|
||||
|
||||
typedef RandomSeedFn = fn void(Random*, char[] seed);
|
||||
typedef RandomNextBytesFn = fn void(Random*, char[] buffer);
|
||||
typedef RandomNextFn = fn uint(Random*, int bits);
|
||||
def RandomSeedFn = fn void(Random*, char[] seed);
|
||||
def RandomNextBytesFn = fn void(Random*, char[] buffer);
|
||||
def RandomNextFn = fn uint(Random*, int bits);
|
||||
|
||||
struct RandomInterface
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user