aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WebAssembly/BinaryFormat/Internal/Locals.php
blob: 7cc0029d5180e0f1fcbc58149eec2d9ee88af1a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

declare(strict_types=1);

namespace Nsfisis\Waddiwasi\WebAssembly\BinaryFormat\Internal;

use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\ValType;

/**
 * @internal
 */
final readonly class Locals
{
    /**
     * @param U32 $count
     */
    public function __construct(
        public int $count,
        public ValType $type,
    ) {
    }
}