+ dummy WASI heap functions

git-svn-id: branches/wasm@48220 -
This commit is contained in:
nickysn 2021-01-19 19:55:34 +00:00
parent 774f6f650d
commit 2f233adda2
2 changed files with 30 additions and 0 deletions

1
.gitattributes vendored
View File

@ -12193,6 +12193,7 @@ rtl/unix/x86.pp svneol=native#text/plain
rtl/wasi/Makefile svneol=native#text/plain
rtl/wasi/Makefile.fpc svneol=native#text/plain
rtl/wasi/rtldefs.inc svneol=native#text/plain
rtl/wasi/sysheap.inc svneol=native#text/plain
rtl/wasi/sysos.inc svneol=native#text/plain
rtl/wasi/sysosh.inc svneol=native#text/plain
rtl/wasi/system.pp svneol=native#text/plain

29
rtl/wasi/sysheap.inc Normal file
View File

@ -0,0 +1,29 @@
{
This file is part of the Free Pascal run time library.
Copyright (c) 2001 by Free Pascal development team
This file implements all the base types and limits required
for a minimal POSIX compliant subset required to port the compiler
to a new OS.
See the file COPYING.FPC, included in this distribution,
for details about the copyright.
This program 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.
**********************************************************************}
{*****************************************************************************
Heap Management
*****************************************************************************}
function SysOSAlloc(size: ptruint): pointer;
begin
end;
procedure SysOSFree(p: pointer; size: ptruint);
begin
end;