mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 11:34:38 +03:00
Add support for aligned allocation on Windows using VirtualAlloc2
This commit is contained in:
parent
38eb0a9449
commit
6eaf387891
4 changed files with 62 additions and 11 deletions
|
@ -28,7 +28,6 @@ we therefore test the API over various inputs. Please add more tests :-)
|
|||
#include "mimalloc.h"
|
||||
#include "mimalloc-internal.h"
|
||||
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Test macros: CHECK(name,predicate) and CHECK_BODY(name,body)
|
||||
// ---------------------------------------------------------------------------
|
||||
|
@ -140,7 +139,6 @@ int main() {
|
|||
CHECK("heap_destroy", test_heap1());
|
||||
CHECK("heap_delete", test_heap2());
|
||||
|
||||
|
||||
// ---------------------------------------------------
|
||||
// Done
|
||||
// ---------------------------------------------------[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue