mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-16 06:49:22 +02:00
* Alloc/Free exports
This commit is contained in:
parent
e4bf5e3da0
commit
a3a1ba5d28
@ -303,6 +303,8 @@ type
|
||||
TWASIExports = Class External name 'Object' (TJSModulesExports)
|
||||
Public
|
||||
Procedure start; external name '_start';
|
||||
function AllocMem(aSize : Integer) : Integer; external name 'wasiAlloc';
|
||||
function freeMem(aLocation : Integer) : Integer; external name 'wasiFree';
|
||||
end;
|
||||
|
||||
TGetConsoleInputBufferEvent = Reference to Procedure(Sender : TObject; Var AInput : TJSUint8Array);
|
||||
|
Loading…
Reference in New Issue
Block a user