Skip to main content

Module save_stack

Module save_stack 

Source
Expand description

Save/restore stack for PostScript VM persistence.

Implements copy-on-write save/restore: save records a level, mutations create COW copies, and restore swaps offsets to revert changes.

Structs§

SaveLevel
One save level’s state.
SaveRecord
Records one COW copy made during a save level.
SaveSnapshot
Interpreter state captured by save and reinstated by restore.
SaveStack
The save/restore stack.
VmMarks
High-water marks of local VM at the moment of a save.

Enums§

StoreType
Which store type a save record refers to.