14 lines
564 B
C
14 lines
564 B
C
|
#ifndef MEMORY_MANAGER_H
|
||
|
#define MEMORY_MANAGER_H
|
||
|
|
||
|
#include "memory_defs.h"
|
||
|
|
||
|
void memoryManagerSetProcs(MallocProc* mallocProc, ReallocProc* reallocProc, FreeProc* freeProc);
|
||
|
void* internal_malloc_safe(size_t size, const char* file, int line);
|
||
|
void* internal_realloc_safe(void* ptr, size_t size, const char* file, int line);
|
||
|
void internal_free_safe(void* ptr, const char* file, int line);
|
||
|
void* internal_calloc_safe(int count, int size, const char* file, int line);
|
||
|
char* strdup_safe(const char* string, const char* file, int line);
|
||
|
|
||
|
#endif /* MEMORY_MANAGER_H */
|