aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WebAssembly/Execution/ExportInst.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/WebAssembly/Execution/ExportInst.php')
-rw-r--r--src/WebAssembly/Execution/ExportInst.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/WebAssembly/Execution/ExportInst.php b/src/WebAssembly/Execution/ExportInst.php
new file mode 100644
index 0000000..7fe04cd
--- /dev/null
+++ b/src/WebAssembly/Execution/ExportInst.php
@@ -0,0 +1,17 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Nsfisis\Waddiwasi\WebAssembly\Execution;
+
+final readonly class ExportInst
+{
+ /**
+ * @param Name $name
+ */
+ public function __construct(
+ public string $name,
+ public ExternVal $value,
+ ) {
+ }
+}