Added a way to manually test the Malloc function from the shell's command line.

This commit is contained in:
2019-08-31 17:50:14 -05:00
parent a587fd6fe2
commit 658a380f9a
8 changed files with 176 additions and 51 deletions
+4 -3
View File
@@ -1,9 +1,10 @@
#ifndef BUILD_NUMBER
#define BUILD_NUMBER "117"
#define BUILD_NUMBER "276"
#endif
#ifndef VERSION_STR
#define VERSION_STR "0.0.2+117 - Sat Feb 9 21:35:00 CST 2019"
#define VERSION_STR "0.0.2+276 - Sat 31 Aug 2019 05:43:54 PM CDT"
#endif
#ifndef VERSION_STR_SHORT
#define VERSION_STR_SHORT "0.0.2+117"
#define VERSION_STR_SHORT
unsigned char* version_str_short = "0.0.2+276";
#endif
+2
View File
@@ -11,6 +11,8 @@ typedef struct MemoryChunk
bool Allocated;
};
static struct MemoryChunk* First;
void MemoryManager(size_t start, size_t size);
void* Malloc(size_t size);