+ implemented MaxAvail for the win16 local heap as well

git-svn-id: trunk@37692 -
This commit is contained in:
nickysn 2017-12-06 15:58:02 +00:00
parent 46db6a6174
commit 6337ae7530
2 changed files with 7 additions and 0 deletions

View File

@ -68,6 +68,11 @@
result:=LocalSize(THandle(p));
end;
function MaxAvail: Word;
begin
result:=LocalCompact(0);
end;
const
LocalHeapMemoryManager: TMemoryManager = (
NeedLock: false; // Obsolete

View File

@ -14,3 +14,5 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
**********************************************************************}
function MaxAvail: Word;