]> Shamusworld >> Repos - virtualjaguar/blob - src/memory.h
Extensive changes to remove gcc 4.x warnings, general code cleanup
[virtualjaguar] / src / memory.h
1 //
2 // MEMORY.H: Header file
3 //
4
5 #ifndef __MEMORY_H__
6 #define __MEMORY_H__
7
8 //This module needs some serious cleanup. !!! FIX !!!
9 #include <stdio.h>                                                              // For FILE struct
10 #include "types.h"
11
12 void InitMemory(void);
13 void MemoryDone(void);
14 void memory_malloc_secure(void ** new_ptr, uint32 size, const char * info);
15 //void * memory_malloc_secure2(uint32 size, const char * info);
16 void * memory_malloc(uint32 size, const char * info);
17 void memory_free(void * ptr);
18 void memory_memoryUsage(FILE * fp);
19
20 #endif