MP-Gadget  5.0.1.dev1-76bc7d4726-dirty
Public Attributes | List of all members
Allocator Struct Reference

#include <memory.h>

Collaboration diagram for Allocator:
[legend]

Public Attributes

char name [12]
 
Allocatorparent
 
char * rawbase
 
char * base
 
size_t size
 
size_t bottom
 
size_t top
 
int refcount
 
int use_malloc
 

Detailed Description

Definition at line 16 of file memory.h.

Member Data Documentation

◆ base

char* Allocator::base

◆ bottom

size_t Allocator::bottom

◆ name

char Allocator::name[12]

Definition at line 17 of file memory.h.

Referenced by allocator_init(), allocator_malloc_init(), and allocator_print().

◆ parent

Allocator* Allocator::parent

Definition at line 18 of file memory.h.

Referenced by allocator_destroy(), allocator_init(), and allocator_malloc_init().

◆ rawbase

char* Allocator::rawbase

Definition at line 20 of file memory.h.

Referenced by allocator_destroy(), allocator_init(), and allocator_malloc_init().

◆ refcount

int Allocator::refcount

◆ size

size_t Allocator::size

◆ top

size_t Allocator::top

◆ use_malloc

int Allocator::use_malloc

The documentation for this struct was generated from the following file: