another fix
This commit is contained in:
parent
84d6e8e921
commit
cd27688a83
@ -1,4 +1,4 @@
|
||||
import core.stdc.stdio : Printf = printf;
|
||||
import std.stdio;
|
||||
import core.stdc.string : memset;
|
||||
|
||||
alias i8 = byte;
|
||||
@ -38,6 +38,12 @@ MemFree(void* ptr, u64 size)
|
||||
|
||||
}
|
||||
|
||||
bool
|
||||
BitEq(u64 l, u64 r)
|
||||
{
|
||||
return (l & r) == r;
|
||||
}
|
||||
|
||||
void
|
||||
Logf(Args...)(string fmt, Args args)
|
||||
{
|
||||
@ -168,7 +174,7 @@ AllocAlign(Arena* arena, u64 size, u64 alignment)
|
||||
}
|
||||
else
|
||||
{
|
||||
Printf("AllocAlign failure: out of memory, size requested: %llu", size);
|
||||
writefln("AllocAlign failure: out of memory, size requested: %s", size);
|
||||
assert(0);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user