ergo
memorymanag.h File Reference

Memory allocation/deallocation routines. More...

#include <memory.h>

Go to the source code of this file.

Macros

#define ergo_new(cnt, type)   ((type*)ergo_malloc((cnt)*sizeof(type)))
 

Functions

void * ergo_malloc (size_t size)
 
void ergo_free (void *p)
 
void report_memory_status (void)
 

Detailed Description

Memory allocation/deallocation routines.

Author
: Elias Rudberg responsible

Macro Definition Documentation

◆ ergo_new

#define ergo_new (   cnt,
  type 
)    ((type*)ergo_malloc((cnt)*sizeof(type)))

Function Documentation

◆ ergo_free()

◆ ergo_malloc()

◆ report_memory_status()

void report_memory_status ( void  )