Commit graph

13 commits

Author SHA1 Message Date
Basile Burg
18d9bc764e fix unittest style 2015-10-02 07:35:09 -04:00
Basile Burg
b876a20832 rewritten _aligned_realloc + added unittests
- _aligned_realloc was using an unnecessary temp buffer
- _aligned_realloc is now conforms with MSVC specs. in case of realloc failure (keep original block)
2015-10-02 07:35:09 -04:00
Basile Burg
53ba5d3c74 fix, use 'CRuntime_DigitalMars' to detect the Digital Mars standard C lib 2015-10-02 07:35:09 -04:00
Basile Burg
257499176f set aligned_free private 2015-10-02 07:35:09 -04:00
Basile Burg
2e2e6d5563 Implementation of the_aligned_alloc functions for the DigitalMars version 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
e0ad05d7b0 Name change: .it -> .instance for all allocators 2015-10-02 07:35:09 -04:00
Hackerpilot
5cedb3873e Fix tabs 2015-10-02 07:35:09 -04:00
Hackerpilot
710d85d622 Clean up various things discovered by D-Scanner 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
20bfef3f3e Unify static and dynamic method signatures 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
e3b6e3ee78 Fixes in affix_allocator, workaround in common and mallocator 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
ed5a6ca6db allocate(0) should return null 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
0d6ae0459d HeapBlock now takes an allocator as a parameter 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
892be24145 Separate mallocator from the rest 2015-10-02 07:35:07 -04:00