def in.unread

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

import bend-osdev-acpi@0.1.1.0/aml_interp.bend as AmlInterp
import Base

2651# the cursor with b in front again (a NameString is read from its start)
2652def in.unread(+b: U32, c: AmlCur) -> AmlCur:
2653  match c:
2654    case AmlCur{code, lim}:
2655      AmlCur{Con{b, code}, 1n+lim}

Uses (4)

Used by (1)