aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WebAssembly/Structure/Modules/ImportDescs/Mem.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/WebAssembly/Structure/Modules/ImportDescs/Mem.php')
-rw-r--r--src/WebAssembly/Structure/Modules/ImportDescs/Mem.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/WebAssembly/Structure/Modules/ImportDescs/Mem.php b/src/WebAssembly/Structure/Modules/ImportDescs/Mem.php
new file mode 100644
index 0000000..934d1c9
--- /dev/null
+++ b/src/WebAssembly/Structure/Modules/ImportDescs/Mem.php
@@ -0,0 +1,16 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Nsfisis\Waddiwasi\WebAssembly\Structure\Modules\ImportDescs;
+
+use Nsfisis\Waddiwasi\WebAssembly\Structure\Modules\ImportDesc;
+use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\MemType;
+
+final readonly class Mem extends ImportDesc
+{
+ protected function __construct(
+ public MemType $mem,
+ ) {
+ }
+}