Skip to content

Commit

Permalink
Merge pull request #9 from Ryzee119/patch-1
Browse files Browse the repository at this point in the history
Allow inclusion in CPP projects
  • Loading branch information
postspectacular authored Sep 18, 2020
2 parents 8241b04 + 0f1d708 commit 7273051
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tinyalloc.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#ifdef __cplusplus
extern "C" {
#endif

#include <stdbool.h>
#include <stddef.h>

Expand All @@ -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

0 comments on commit 7273051

Please sign in to comment.