Free Electron
Classes | Namespaces | Macros | Typedefs | Functions | Variables
memory.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fe::Memory
 Basic memory management. More...
 

Namespaces

 fe
 kernel
 

Macros

#define FE_CHECK_NEW   TRUE
 
#define FE_HEAP_CHECKABLE   FE_CHECK_NEW
 
#define FE_CHECK_HEAP   FE_HEAP_CHECKABLE
 
#define FE_LOCK_MEMORY   (FE_CHECK_HEAP || FE_CHECK_NEW)
 
#define FE_MEM_ALIGNMENT   0
 
#define FE_SAFE_COUNTED_MUTEX   FALSE
 
#define FE_NO_DYNAMIC_EXCEPTIONS   0
 

Typedefs

typedef void *FE_CDECL fe::allocateFunction(FE_UWORD byteCount)
 
typedef void *FE_CDECL fe::reallocateFunction(void *pMemory, FE_UWORD byteCount)
 

Functions

typedef fe::void (FE_CDECL deallocateFunction)(void *pMemory)
 
FE_DL_EXPORT void *FE_CDECL fe::ex_allocate (FE_UWORD byteCount)
 
FE_DL_EXPORT void *FE_CDECL fe::ex_reallocate (void *pMemory, FE_UWORD byteCount)
 
FE_DL_EXPORT void FE_CDECL fe::ex_deallocate (void *pMemory)
 
void * fe::allocate (FE_UWORD byteCount)
 
void fe::deallocate (void *pMemory)
 
void * fe::reallocate (void *pMemory, FE_UWORD byteCount)
 
FE_DL_EXPORT void FE_CDECL fe::setAllocateFunction (allocateFunction *p_fn)
 
FE_DL_EXPORT void FE_CDECL fe::setDeallocateFunction (deallocateFunction *p_fn)
 
void *FE_CDECL operator new (size_t byteCount)
 
void *FE_CDECL operator new[] (size_t byteCount)
 
void FE_CDECL operator delete (void *pMemory)
 
void FE_CDECL operator delete[] (void *pMemory)
 

Variables

allocateFunction * fe::gs_pAllocateFunction
 
deallocateFunction * fe::gs_pDeallocateFunction
 
reallocateFunction * fe::gs_pReallocateFunction
 
void * fe::gs_pHeapBase
 
I32 fe::gs_newCheck