mm.h 274 Bytes
Newer Older
Adam Blank's avatar
Adam Blank committed
1
2
3
4
#ifndef MM_H
#define MM_H

#include <stdbool.h>
Caleb C. Sander's avatar
Caleb C. Sander committed
5
#include <stddef.h>
Adam Blank's avatar
Adam Blank committed
6

Caleb C. Sander's avatar
Caleb C. Sander committed
7
8
9
10
11
12
bool mm_init(void);
void *mm_malloc(size_t size);
void mm_free(void *ptr);
void *mm_realloc(void *ptr, size_t size);
void *mm_calloc(size_t nmemb, size_t size);
void mm_checkheap(void);
Adam Blank's avatar
Adam Blank committed
13
14

#endif /* MM_H */