mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 14:19:28 +02:00
* TinyHeapMinBlock defined as sizeof(TTinyHeapBlock), as that's the smallest
free block actually supported git-svn-id: trunk@28401 -
This commit is contained in:
parent
e8c1a44068
commit
21246e973a
@ -37,10 +37,6 @@
|
||||
|
||||
TTinyHeapPointerArithmeticType = ^Byte; {$ifdef FPC_HEAP_HUGE}huge;{$endif}
|
||||
|
||||
const
|
||||
TinyHeapMinBlock = 4*sizeof(pointer);
|
||||
|
||||
type
|
||||
PTinyHeapBlock = ^TTinyHeapBlock;
|
||||
TTinyHeapBlock = record
|
||||
Next: PTinyHeapBlock;
|
||||
@ -48,6 +44,9 @@
|
||||
EndAddr: pointer;
|
||||
end;
|
||||
|
||||
const
|
||||
TinyHeapMinBlock = sizeof(TTinyHeapBlock);
|
||||
|
||||
var
|
||||
TinyHeapBlocks: PTinyHeapBlock = nil;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user