diff options
Diffstat (limited to 'src/WebAssembly/Execution/ElemInst.php')
| -rw-r--r-- | src/WebAssembly/Execution/ElemInst.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/WebAssembly/Execution/ElemInst.php b/src/WebAssembly/Execution/ElemInst.php new file mode 100644 index 0000000..422cd62 --- /dev/null +++ b/src/WebAssembly/Execution/ElemInst.php @@ -0,0 +1,19 @@ +<?php + +declare(strict_types=1); + +namespace Nsfisis\Waddiwasi\WebAssembly\Execution; + +use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\RefType; + +final readonly class ElemInst +{ + /** + * @param list<Ref> $elem + */ + public function __construct( + public RefType $type, + public array $elem, + ) { + } +} |
