; ; heap.s ; ; A resizing, nonshifting heap workspace (MDW) ; ; © 1998 Straylight ; ;----- Licensing note ------------------------------------------------------- ; ; This file is part of Straylight's heap. ; ; Heap is free software; you can redistribute it and/or modify ; it under the terms of the GNU General Public License as published by ; the Free Software Foundation; either version 2, or (at your option) ; any later version. ; ; Heap is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with Heap. If not, write to the Free Software Foundation, ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. heap__flex # 4 ;Pointer to flex block heap__chunkSize # 4 ;Size to allocate chunks in heap__freeList # 4 ;Offset to free list, or 0 heap__alloced # 4 ;Offset to unallocated area heap__size # 4 ;Current size of heap ;----- That's all, folks ---------------------------------------------------- END