2 * UCW Library -- Generic allocators
4 * (c) 2014 Martin Mares <mj@ucw.cz>
10 struct ucw_allocator {
11 void * (*alloc)(struct ucw_allocator *alloc, size_t size);
12 void * (*realloc)(struct ucw_allocator *alloc, void *ptr, size_t old_size, size_t new_size);
13 void (*free)(struct ucw_allocator *alloc, void *ptr);
18 extern struct ucw_allocator ucw_allocator_std;
19 extern struct ucw_allocator ucw_allocator_zeroed;