blob: 37bbcfd832a66f909206424f86184519e88cdddf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<?php
declare(strict_types=1);
namespace Nsfisis\Waddiwasi\WebAssembly\Execution;
use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\FuncType;
final class ModuleInst
{
/**
* @param list<FuncType> $types
* @param list<int> $funcAddrs
* @param list<int> $tableAddrs
* @param list<int> $memAddrs
* @param list<int> $globalAddrs
* @param list<int> $elemAddrs
* @param list<int> $dataAddrs
* @param list<ExportInst> $exports
*/
public function __construct(
public array $types,
public array $funcAddrs,
public array $tableAddrs,
public array $memAddrs,
public array $globalAddrs,
public array $elemAddrs,
public array $dataAddrs,
public array $exports,
) {
}
}
|