/* ISC license. */

#ifndef ALLOC_H
#define ALLOC_H

#include <skalibs/gccattributes.h>

typedef char aligned_char gccattr_aligned ;
typedef aligned_char *aligned_char_ref, **aligned_char_ref_ref ;

extern aligned_char *alloc (unsigned int) ;
extern void alloc_free (void *) ;
#define alloc_re(p, old, new) alloc_realloc(p, new)
extern int alloc_realloc (aligned_char **, unsigned int) ;

#endif
