49 # define safe_alloca(N) ((N) < 4032 ? alloca (N) : NULL) 51 # define safe_alloca(N) ((void) (N), NULL) 59 ((N) < 4032 - sa_increment \ 60 ? (void *) ((char *) alloca ((N) + sa_increment) + sa_increment) \ 70 extern void freea (
void *p);
79 #define nmalloca(n, s) (xalloc_oversized (n, s) ? NULL : malloca ((n) * (s))) 90 #if defined __GNUC__ || defined __IBM__ALIGNOF__ 91 # define sa_alignof __alignof__ 92 #elif defined __cplusplus 93 template <
class type>
struct sa_alignof_helper {
char __slot1; type __slot2; };
94 # define sa_alignof(type) offsetof (sa_alignof_helper<type>, __slot2) 98 # define sa_alignof(type) (sizeof (type) <= 4 ? 4 : 8) 102 # define sa_alignof(type) (sizeof (type) <= 4 ? 4 : 8) 104 # define sa_alignof(type) offsetof (struct { char __slot1; type __slot2; }, __slot2) 113 #if HAVE_LONG_LONG_INT 114 sa_alignment_longlong =
sa_alignof (
long long),
118 #if HAVE_LONG_LONG_INT 119 | (sa_alignment_longlong - 1)
void * mmalloca(size_t n)
Definition: malloca.c:84
Definition: malloca.h:111
Definition: malloca.h:116
Definition: malloca.h:125
Definition: malloca.h:112
Definition: malloca.h:117
#define freea
Definition: malloca.h:72
#define sa_alignof(type)
Definition: malloca.h:104