mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-18 19:29:21 +02:00
* Micro improvements
This commit is contained in:
parent
4469f8defe
commit
9f8e8c71de
packages
@ -29,7 +29,7 @@ Type
|
||||
|
||||
{ TJSModulesArray }
|
||||
|
||||
TJSModulesExports = Class external name 'anon' (TJSObject)
|
||||
TJSModulesExports = Class external name 'Object' (TJSObject)
|
||||
private
|
||||
FMemory : TJSWebAssemblyMemory; external name 'memory';
|
||||
function GetFun(aName : String): TJSFunction; external name '[]';
|
||||
|
@ -299,7 +299,8 @@ type
|
||||
|
||||
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
|
||||
Procedure start; external name '_start';
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user