diff options
author | Benji Dial <benji6283@gmail.com> | 2021-03-04 19:11:42 -0500 |
---|---|---|
committer | Benji Dial <benji6283@gmail.com> | 2021-03-04 19:11:42 -0500 |
commit | 406af09ade55553e2b064506c3ba3c89bd965d73 (patch) | |
tree | dd6da93bc329d6b1097aa1afcde2af19491dfc8e /src/user/include/knob/heap.h | |
parent | 86af7f631080bc4b45846bd7f382c4cedcbec2b4 (diff) | |
download | portland-os-406af09ade55553e2b064506c3ba3c89bd965d73.tar.gz |
start of a c++ widget toolkit, c++ runtime
Diffstat (limited to 'src/user/include/knob/heap.h')
-rw-r--r-- | src/user/include/knob/heap.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/user/include/knob/heap.h b/src/user/include/knob/heap.h index 32dc44c..c0d7006 100644 --- a/src/user/include/knob/heap.h +++ b/src/user/include/knob/heap.h @@ -1,9 +1,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
\ No newline at end of file |