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