diff options
Diffstat (limited to 'tinyalloc.h')
| -rw-r--r-- | tinyalloc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tinyalloc.h b/tinyalloc.h index 947af94..113f147 100644 --- a/tinyalloc.h +++ b/tinyalloc.h @@ -1,3 +1,7 @@ +#ifdef __cplusplus +extern "C" { +#endif + #include <stdbool.h> #include <stddef.h> @@ -10,3 +14,7 @@ size_t ta_num_free(); size_t ta_num_used(); size_t ta_num_fresh(); bool ta_check(); + +#ifdef __cplusplus +} +#endif |
