Browse Source

+ added method TJSWebAssemblyMemory.grow

Nikolay Nikolov 3 năm trước cách đây
mục cha
commit
3518f1ae9a
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      packages/rtl/webassembly.pas

+ 1 - 0
packages/rtl/webassembly.pas

@@ -24,6 +24,7 @@ Type
   Public
     constructor new (memorydescriptor : TJSWebAssemblyMemoryDescriptor);
     constructor new (memorydescriptor : TJSObject);
+    Function grow(number : NativeInt) : NativeInt; external name 'grow';
     Property buffer : TJSArrayBuffer Read FBuffer;
     Property length: NativeInt Read FLength;
   end;