소스 검색

* swapped the order of the Next and Size fields in TTinyHeapBlock, because that
brings it closer (but still not equal) to the TP7 heap's internal structure

git-svn-id: trunk@28391 -

nickysn 11 년 전
부모
커밋
e8c1a44068
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      rtl/inc/tinyheap.inc

+ 1 - 1
rtl/inc/tinyheap.inc

@@ -43,8 +43,8 @@
     type
       PTinyHeapBlock = ^TTinyHeapBlock;
       TTinyHeapBlock = record
-        Size: TTinyHeapFreeBlockSize;
         Next: PTinyHeapBlock;
+        Size: TTinyHeapFreeBlockSize;
         EndAddr: pointer;
       end;