mirror of
https://github.com/Ed94/metadesk.git
synced 2026-07-30 03:10:04 +00:00
progress (cleaning up math.h/c)
This commit is contained in:
@@ -232,6 +232,9 @@ void* alloc_align( AllocatorInfo a, SSIZE size, SSIZE alignment ) {
|
||||
|
||||
inline
|
||||
void* alloc( AllocatorInfo a, SSIZE size ) {
|
||||
if (a.proc == nullptr) {
|
||||
a = default_allocator();
|
||||
}
|
||||
return alloc_align( a, size, MD_DEFAULT_MEMORY_ALIGNMENT );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user