feat: update structure
This commit is contained in:
12
cs2106/labs/lab4/bitmap/mymalloc.h
Normal file
12
cs2106/labs/lab4/bitmap/mymalloc.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#include "stdio.h"
|
||||
#define MEMSIZE 64 // Size of memory in bytes
|
||||
#define BITMAP_SIZE 8 // Size of Bitmap
|
||||
|
||||
// Used by the test harness
|
||||
long get_index(void *ptr);
|
||||
|
||||
// Debugging routine
|
||||
void print_memlist();
|
||||
|
||||
void *mymalloc(size_t);
|
||||
void myfree(void *);
|
||||
Reference in New Issue
Block a user