mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-08 19:47:57 +02:00
+ added 'shared' flag to TJSWebAssemblyMemoryDescriptor
This commit is contained in:
parent
06dc16b22e
commit
6512160636
@ -14,6 +14,7 @@ Type
|
||||
TJSWebAssemblyMemoryDescriptor = record
|
||||
initial,
|
||||
maximum : integer;
|
||||
shared : Boolean;
|
||||
end;
|
||||
|
||||
TJSWebAssemblyMemory = class external name 'WebAssembly.Memory' (TJSObject)
|
||||
|
@ -582,6 +582,7 @@ begin
|
||||
Fenv.OnGetConsoleInputString:=@DoStdRead;
|
||||
FMemoryDescriptor.initial:=256;
|
||||
FMemoryDescriptor.maximum:=256;
|
||||
FMemoryDescriptor.shared:=False;
|
||||
FTableDescriptor.initial:=0;
|
||||
FTableDescriptor.maximum:=0;
|
||||
FTableDescriptor.element:='anyfunc';
|
||||
|
Loading…
Reference in New Issue
Block a user