Mercurial > ~dholland > hg > tradcpp > index.cgi
comparison array.h @ 149:c440247cbd69
fix compile bug in array.h (does not currently affect tradcpp)
author | David A. Holland |
---|---|
date | Sat, 24 Aug 2013 18:50:05 -0400 (2013-08-24) |
parents | 0921c47b4f22 |
children |
comparison
equal
deleted
inserted
replaced
148:8772a0654876 | 149:c440247cbd69 |
---|---|
251 | 251 |
252 #define DECLARRAY(T, INLINE) DECLARRAY_BYTYPE(T##array, struct T, INLINE) | 252 #define DECLARRAY(T, INLINE) DECLARRAY_BYTYPE(T##array, struct T, INLINE) |
253 #define DEFARRAY(T, INLINE) DEFARRAY_BYTYPE(T##array, struct T, INLINE) | 253 #define DEFARRAY(T, INLINE) DEFARRAY_BYTYPE(T##array, struct T, INLINE) |
254 | 254 |
255 #define DESTROYALL_ARRAY(T, INLINE) \ | 255 #define DESTROYALL_ARRAY(T, INLINE) \ |
256 void T##array_destroyall(struct T##array *arr); \ | 256 INLINE void T##array_destroyall(struct T##array *arr); \ |
257 \ | 257 \ |
258 INLINE void \ | 258 INLINE void \ |
259 T##array_destroyall(struct T##array *arr) \ | 259 T##array_destroyall(struct T##array *arr) \ |
260 { \ | 260 { \ |
261 unsigned i, num; \ | 261 unsigned i, num; \ |