1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-11 05:51:21 -08:00

New function seghasbuffer.

Copied from Perforce
 Change: 191537
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Gareth Rees 2016-04-22 10:08:29 +01:00
parent 36b227c0c7
commit 8e518349f4
8 changed files with 27 additions and 18 deletions

View file

@ -1195,7 +1195,7 @@ static void segBufAttach(Buffer buffer, Addr base, Addr limit,
found = SegOfAddr(&seg, arena, base);
AVER(found);
AVER(segbuf->seg == NULL);
AVER(SegBuffer(seg) == NULL);
AVER(!SegHasBuffer(seg));
AVER(SegBase(seg) <= base);
AVER(limit <= SegLimit(seg));