1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- #ifndef _GL_ALLOCATOR_H
- #define _GL_ALLOCATOR_H
- #include <stddef.h>
- struct allocator
- {
-
-
- void *(*allocate) (size_t);
-
- void *(*reallocate) (void *, size_t);
-
- void (*free) (void *);
-
- void (*die) (size_t);
- };
- extern struct allocator const stdlib_allocator;
- #endif
|