]> Shamusworld >> Repos - virtualjaguar/blob - src/memory.h
5ea70d938630a74ff2e5f2b967995535897ae7d6
[virtualjaguar] / src / memory.h
1 //
2 // MEMORY.H: Header file
3 //
4
5 #ifndef __MEMORY_H__
6 #define __MEMORY_H__
7
8 #include <stdio.h>                                                              // For FILE struct
9 #include "types.h"
10
11 void MemoryInit(void);
12 void MemoryDone(void);
13 void memory_malloc_secure(void ** new_ptr, uint32 size, const char * info);
14 //void * memory_malloc_secure2(uint32 size, const char * info);
15 void * memory_malloc(uint32 size, const char * info);
16 void memory_free(void * ptr);
17 void memory_memoryUsage(FILE * fp);
18
19 #endif