Mercurial > hg > xemacs-beta
diff src/dynarr.h @ 183:e121b013d1f0 r20-3b18
Import from CVS: tag r20-3b18
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:54:23 +0200 |
parents | 376386a54a3c |
children | 3d6bfa290dbd |
line wrap: on
line diff
--- a/src/dynarr.h Mon Aug 13 09:53:23 2007 +0200 +++ b/src/dynarr.h Mon Aug 13 09:54:23 2007 +0200 @@ -25,11 +25,11 @@ #ifndef _XEMACS_DYNARR_H_ #define _XEMACS_DYNARR_H_ -#define Dynarr_declare(type) \ - type *base; \ - int elsize; \ - int cur; \ - int largest; \ +#define Dynarr_declare(type) \ + type *base; \ + int elsize; \ + int cur; \ + int largest; \ int max typedef struct dynarr @@ -50,7 +50,7 @@ #define Dynarr_largest(d) ((d)->largest) #define Dynarr_reset(d) ((d)->cur = 0) #define Dynarr_add_many(d, el, len) Dynarr_insert_many (d, el, len, (d)->cur) -#define Dynarr_insert_many_at_start(d, el, len) \ +#define Dynarr_insert_many_at_start(d, el, len) \ Dynarr_insert_many (d, el, len, 0) #define Dynarr_add(d, el) ( \