78:9a1ce6020530 | 79:81e9a32b1c0c |
---|---|
12 | 12 |
13 #include <stdlib.h> | 13 #include <stdlib.h> |
14 #include <stdio.h> | 14 #include <stdio.h> |
15 #include <assert.h> | 15 #include <assert.h> |
16 #include "types.h" | 16 #include "types.h" |
17 | |
18 #define TR(X) X | |
19 #define DUMMY_TR(X) X | |
20 | 17 |
21 #define ALLOC(X) (X*)malloczero(sizeof(X)) | 18 #define ALLOC(X) (X*)malloczero(sizeof(X)) |
22 #define ALLOC_N(X, N) (X*)malloczero(sizeof(X)*(N)) | 19 #define ALLOC_N(X, N) (X*)malloczero(sizeof(X)*(N)) |
23 #define REALLOC_N(PTR, X, S, N) (X*)remalloczero(PTR, sizeof(X)*(S), sizeof(X)*(N)) | 20 #define REALLOC_N(PTR, X, S, N) (X*)remalloczero(PTR, sizeof(X)*(S), sizeof(X)*(N)) |
24 | 21 |