mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-27 21:10:16 +02:00
* Micro improvements
This commit is contained in:
parent
4469f8defe
commit
9f8e8c71de
@ -29,7 +29,7 @@ Type
|
|||||||
|
|
||||||
{ TJSModulesArray }
|
{ TJSModulesArray }
|
||||||
|
|
||||||
TJSModulesExports = Class external name 'anon' (TJSObject)
|
TJSModulesExports = Class external name 'Object' (TJSObject)
|
||||||
private
|
private
|
||||||
FMemory : TJSWebAssemblyMemory; external name 'memory';
|
FMemory : TJSWebAssemblyMemory; external name 'memory';
|
||||||
function GetFun(aName : String): TJSFunction; external name '[]';
|
function GetFun(aName : String): TJSFunction; external name '[]';
|
||||||
|
@ -299,7 +299,8 @@ type
|
|||||||
|
|
||||||
TWASIWriteEvent = Reference to Procedure(Sender : TObject; Const aOutput : String);
|
TWASIWriteEvent = Reference to Procedure(Sender : TObject; Const aOutput : String);
|
||||||
|
|
||||||
TWASIExports = Class External name 'Object' (TJSObject)
|
// Standard FPC exports.
|
||||||
|
TWASIExports = Class External name 'Object' (TJSModulesExports)
|
||||||
Public
|
Public
|
||||||
Procedure start; external name '_start';
|
Procedure start; external name '_start';
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user