summaryrefslogtreecommitdiff
path: root/src/user/include/knob/heap.h
blob: c0d700617b962b0a35fcae11f24a2778e1607648 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef KNOB_HEAP_H
#define KNOB_HEAP_H

#ifdef __cplusplus
extern "C" {
#endif

#include <stdint.h>

void *get_block(uint32_t bytes) __attribute__ ((malloc));
void free_block(void *block);

#ifdef __cplusplus
}
#endif

#endif