Commit graph

16 commits

Author SHA1 Message Date
ZombineDev
ce938fe432 Add attributes to most functions in allocator.mallocator and allocator.common.
Also made the style more consistent.
2016-02-03 17:33:24 +02:00
Martin Nowak
6d36fc10e4 add missing @nogc for Windows-only functions 2016-01-03 16:04:18 +01:00
Basile Burg
0c513b1c15 allowed Mallocator to be used in nogc functions 2015-12-05 23:41:26 +01:00
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