version 1.16, 2015/12/27 17:51:19 |
version 1.17, 2016/03/16 04:33:01 |
|
|
* Macros to manipulate the list of buffers in thisfile->hashtbl[n]. |
* Macros to manipulate the list of buffers in thisfile->hashtbl[n]. |
*/ |
*/ |
#define FOR_BUFS_IN_CHAIN(h, bn) \ |
#define FOR_BUFS_IN_CHAIN(h, bn) \ |
for (bn = thisfile->hashtbl[h].hnext; \ |
for ((bn) = thisfile->hashtbl[h].hnext; \ |
bn != END_OF_HCHAIN(h); bn = bn->hnext) |
(bn) != END_OF_HCHAIN(h); (bn) = (bn)->hnext) |
|
|
#define BUF_HASH_RM(bn) \ |
#define BUF_HASH_RM(bn) \ |
(bn)->hnext->hprev = (bn)->hprev; \ |
(bn)->hnext->hprev = (bn)->hprev; \ |