diff options
Diffstat (limited to 'src/WebAssembly/Execution/ExternVals')
| -rw-r--r-- | src/WebAssembly/Execution/ExternVals/Func.php | 15 | ||||
| -rw-r--r-- | src/WebAssembly/Execution/ExternVals/Global_.php | 15 | ||||
| -rw-r--r-- | src/WebAssembly/Execution/ExternVals/Mem.php | 15 | ||||
| -rw-r--r-- | src/WebAssembly/Execution/ExternVals/Table.php | 15 |
4 files changed, 60 insertions, 0 deletions
diff --git a/src/WebAssembly/Execution/ExternVals/Func.php b/src/WebAssembly/Execution/ExternVals/Func.php new file mode 100644 index 0000000..cc3c82a --- /dev/null +++ b/src/WebAssembly/Execution/ExternVals/Func.php @@ -0,0 +1,15 @@ +<?php + +declare(strict_types=1); + +namespace Nsfisis\Waddiwasi\WebAssembly\Execution\ExternVals; + +use Nsfisis\Waddiwasi\WebAssembly\Execution\ExternVal; + +final readonly class Func extends ExternVal +{ + protected function __construct( + public int $addr, + ) { + } +} diff --git a/src/WebAssembly/Execution/ExternVals/Global_.php b/src/WebAssembly/Execution/ExternVals/Global_.php new file mode 100644 index 0000000..cc28f26 --- /dev/null +++ b/src/WebAssembly/Execution/ExternVals/Global_.php @@ -0,0 +1,15 @@ +<?php + +declare(strict_types=1); + +namespace Nsfisis\Waddiwasi\WebAssembly\Execution\ExternVals; + +use Nsfisis\Waddiwasi\WebAssembly\Execution\ExternVal; + +final readonly class Global_ extends ExternVal +{ + protected function __construct( + public int $addr, + ) { + } +} diff --git a/src/WebAssembly/Execution/ExternVals/Mem.php b/src/WebAssembly/Execution/ExternVals/Mem.php new file mode 100644 index 0000000..1b76d3f --- /dev/null +++ b/src/WebAssembly/Execution/ExternVals/Mem.php @@ -0,0 +1,15 @@ +<?php + +declare(strict_types=1); + +namespace Nsfisis\Waddiwasi\WebAssembly\Execution\ExternVals; + +use Nsfisis\Waddiwasi\WebAssembly\Execution\ExternVal; + +final readonly class Mem extends ExternVal +{ + protected function __construct( + public int $addr, + ) { + } +} diff --git a/src/WebAssembly/Execution/ExternVals/Table.php b/src/WebAssembly/Execution/ExternVals/Table.php new file mode 100644 index 0000000..787adb9 --- /dev/null +++ b/src/WebAssembly/Execution/ExternVals/Table.php @@ -0,0 +1,15 @@ +<?php + +declare(strict_types=1); + +namespace Nsfisis\Waddiwasi\WebAssembly\Execution\ExternVals; + +use Nsfisis\Waddiwasi\WebAssembly\Execution\ExternVal; + +final readonly class Table extends ExternVal +{ + protected function __construct( + public int $addr, + ) { + } +} |
