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