Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Structs Malloc

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
module juptune.core.ds.alloc;

struct Malloc
{
    /++ TEMPLATES ++/
    
    ///
    mixin template InjectState()
    {
        /++ FUNCTIONS ++/
        
        ///
        void allocCtor(Alloc.CtorParams _);
        ///
        void allocDtor();
        ///
        void* calloc(size_t amount);
        ///
        void free(void* ptr);
        ///
        void* realloc(void* ptr, size_t size);
        
    }
    
    /++ ALIASES ++/
    
    ///
    alias CtorParams = __tuple(TODO);
    
    /++ MANIFEST CONSTANTS ++/
    
    ///
    enum bool IsCopyable = true;
    
}

Aliases

Name Description
CtorParams

Constants

Name Description
IsCopyable

Templates

Name Description
InjectState