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