diff options
| author | Karsten Schmidt <k@postspectacular.com> | 2017-07-14 18:17:27 +0100 |
|---|---|---|
| committer | Karsten Schmidt <k@postspectacular.com> | 2017-07-14 18:17:27 +0100 |
| commit | e46468047ce0fb4c75d31c7797e8e3ef14219903 (patch) | |
| tree | 3417df1402d44a606432a78501195d18edd35ae5 /talloc.h | |
| parent | cebcee692db504907901ddad4ac8342d296fc76e (diff) | |
rename fns again, add ta_calloc() & memset
Diffstat (limited to 'talloc.h')
| -rw-r--r-- | talloc.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/talloc.h b/talloc.h deleted file mode 100644 index f96cc43..0000000 --- a/talloc.h +++ /dev/null @@ -1,31 +0,0 @@ -#include <stdbool.h> -#include <stddef.h> - -#ifndef TA_ALIGN -#define TA_ALIGN 8 -#endif - -#ifndef TA_BASE -#define TA_BASE 0x400 -#endif - -#ifndef TA_HEAP_START -#define TA_HEAP_START 0x444 -#endif - -#ifndef TA_HEAP_LIMIT -#define TA_HEAP_LIMIT (1 << 24) -#endif - -#ifndef TA_HEAP_BLOCKS -#define TA_HEAP_BLOCKS 0x4 -#endif - -bool talloc_init(); -void *talloc(size_t num); -bool talloc_free(void *ptr); - -size_t talloc_num_free(); -size_t talloc_num_used(); -size_t talloc_num_avail(); -bool talloc_check(); |
