From 824a6403417482a3349616514ebdea3f790c271e Mon Sep 17 00:00:00 2001 From: Matt Reyer <270504+winduptoy@users.noreply.github.com> Date: Mon, 1 Jul 2019 19:54:58 -0400 Subject: Move compile-time configuration into a runtime configuration. - Updated README --- tinyalloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tinyalloc.h') diff --git a/tinyalloc.h b/tinyalloc.h index 6a76d2a..947af94 100644 --- a/tinyalloc.h +++ b/tinyalloc.h @@ -1,7 +1,7 @@ #include #include -bool ta_init(); +bool ta_init(const void *base, const void *limit, const size_t heap_blocks, const size_t split_thresh, const size_t alignment); void *ta_alloc(size_t num); void *ta_calloc(size_t num, size_t size); bool ta_free(void *ptr); -- cgit v1.2.3