summaryrefslogtreecommitdiff
path: root/src/user/include/knob/heap.h
blob: d7b0773393126100d61cfa4095794390f9d51c3e (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(const void *block);

#ifdef __cplusplus
}
#endif

#endif