Mercurial > hg > xemacs-beta
diff src/lisp.h @ 819:6504113e7c2d
[xemacs-hg @ 2002-04-25 18:03:23 by andyp]
sync up windows branch from 21.4
author | andyp |
---|---|
date | Thu, 25 Apr 2002 18:04:24 +0000 |
parents | a634e3b7acc8 |
children | 6728e641994e |
line wrap: on
line diff
--- a/src/lisp.h Thu Apr 25 06:09:18 2002 +0000 +++ b/src/lisp.h Thu Apr 25 18:04:24 2002 +0000 @@ -892,7 +892,7 @@ #define Dynarr_at(d, pos) ((d)->base[pos]) #define Dynarr_atp(d, pos) (&Dynarr_at (d, pos)) #define Dynarr_begin(d) Dynarr_atp (d, 0) -#define Dynarr_end(d) Dynarr_atp (d, Dynarr_length (d)) +#define Dynarr_end(d) Dynarr_atp (d, Dynarr_length (d) - 1) #define Dynarr_sizeof(d) ((d)->cur * (d)->elsize) #ifdef ERROR_CHECK_STRUCTURES