mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-21 01:18:02 +02:00
Fixed append alignment with unaligned stomp allocator
This commit is contained in:
parent
ce64d43b6a
commit
b2b964489e
3 changed files with 18 additions and 13 deletions
|
@ -5,13 +5,13 @@ namespace System
|
|||
{
|
||||
interface IRawAllocator
|
||||
{
|
||||
void* Alloc(int size, int align);
|
||||
void Free(void* ptr);
|
||||
void* Alloc(int size, int align) mut;
|
||||
void Free(void* ptr) mut;
|
||||
}
|
||||
|
||||
interface ITypedAllocator : IRawAllocator
|
||||
{
|
||||
void* AllocTyped(Type type, int size, int align);
|
||||
void* AllocTyped(Type type, int size, int align) mut;
|
||||
}
|
||||
|
||||
struct StdAllocator : IRawAllocator
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue