(ALLOC_SEQ): undef
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8617 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -95,6 +95,7 @@
|
||||
|
||||
#undef ALLOC
|
||||
#define ALLOC(X) ((X) = malloc(sizeof(*(X))))
|
||||
#undef ALLOC_SEQ
|
||||
#define ALLOC_SEQ(X, N) do { (X)->len = (N); \
|
||||
(X)->val = calloc((X)->len, sizeof(*(X)->val)); } while(0)
|
||||
|
||||
|
Reference in New Issue
Block a user