diff options
| author | Matt Reyer <270504+winduptoy@users.noreply.github.com> | 2019-07-01 19:54:58 -0400 |
|---|---|---|
| committer | Matt Reyer <270504+winduptoy@users.noreply.github.com> | 2019-07-01 20:07:36 -0400 |
| commit | 824a6403417482a3349616514ebdea3f790c271e (patch) | |
| tree | 061ac06af22117b10d5eb26be2acc17e7f109ea7 /tinyalloc.h | |
| parent | 9ebd4a406bf783a68b0e0ba57545f11f12bf5827 (diff) | |
Move compile-time configuration into a runtime configuration.
- Updated README
Diffstat (limited to 'tinyalloc.h')
| -rw-r--r-- | tinyalloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyalloc.h b/tinyalloc.h index 6a76d2a..947af94 100644 --- a/tinyalloc.h +++ b/tinyalloc.h @@ -1,7 +1,7 @@ #include <stdbool.h> #include <stddef.h> -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); |
