def in.small.int

bend-osdev-acpi@0.1.1.0 · aml_interp.bend:1311

import bend-osdev-acpi@0.1.1.0/aml_interp.bend as AmlInterp
import Base
import bend-osdev-word64@0.1.1.0/word64.bend as W
import bend-osdev-acpi@0.1.1.0/error.bend as E
import bend-osdev-acpi@0.1.1.0/aml_value.bend as V

1311# an Integer operand that must be small (an index or a count: below 2^32)
1312def in.small.int(+wide: Bool, v: V.AmlValue) -> Result<&2, &2, E.AcpiError, W.W64>:
1313  in.small.chk(V.AmlValue.to_int(wide, v))

Uses (7)

Used by (3)