aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WebAssembly/Execution/Refs/RefExtern.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/WebAssembly/Execution/Refs/RefExtern.php')
-rw-r--r--src/WebAssembly/Execution/Refs/RefExtern.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/WebAssembly/Execution/Refs/RefExtern.php b/src/WebAssembly/Execution/Refs/RefExtern.php
new file mode 100644
index 0000000..41f3acd
--- /dev/null
+++ b/src/WebAssembly/Execution/Refs/RefExtern.php
@@ -0,0 +1,15 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Nsfisis\Waddiwasi\WebAssembly\Execution\Refs;
+
+use Nsfisis\Waddiwasi\WebAssembly\Execution\Ref;
+
+final readonly class RefExtern extends Ref
+{
+ public function __construct(
+ public int $addr,
+ ) {
+ }
+}