mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 18:35:34 +00:00
op: tighten documentation
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -86,7 +86,7 @@ type Ops struct {
|
|||||||
macroDepth int
|
macroDepth int
|
||||||
}
|
}
|
||||||
|
|
||||||
// StackOp can save and restore the operation state
|
// StackOp saves and restores the operation state
|
||||||
// in a stack-like manner.
|
// in a stack-like manner.
|
||||||
type StackOp struct {
|
type StackOp struct {
|
||||||
stackDepth int
|
stackDepth int
|
||||||
@@ -95,8 +95,7 @@ type StackOp struct {
|
|||||||
ops *Ops
|
ops *Ops
|
||||||
}
|
}
|
||||||
|
|
||||||
// MacroOp can record a list of operations for later
|
// MacroOp records a list of operations for later use.
|
||||||
// use.
|
|
||||||
type MacroOp struct {
|
type MacroOp struct {
|
||||||
recording bool
|
recording bool
|
||||||
ops *Ops
|
ops *Ops
|
||||||
|
|||||||
Reference in New Issue
Block a user