mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-05-18 19:06:18 -07:00
Clarifying comment about extra queue element
Copied from Perforce Change: 182119 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
fc4d239543
commit
af707b5d97
1 changed files with 2 additions and 1 deletions
|
|
@ -37,7 +37,8 @@ Res ABQInit(Arena arena, ABQ abq, void *owner, Count elements, Size elementSize)
|
|||
AVER(abq != NULL);
|
||||
AVER(elements > 0);
|
||||
|
||||
/* Necessary in order to be able to distinguish "empty" from "full" */
|
||||
/* Allocate a dummy extra element in order to be able to distinguish
|
||||
"empty" from "full" */
|
||||
elements = elements + 1;
|
||||
|
||||
res = ControlAlloc(&p, arena, ABQQueueSize(elements, elementSize),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue