Skip to content

Commit

Permalink
arena interface comment
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Ángel Ortuño <[email protected]>
  • Loading branch information
ortuman committed Mar 4, 2024
1 parent c1ece28 commit cd72948
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arena.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ type Arena interface {
Alloc(size int) unsafe.Pointer

// Reset resets the arena's state, optionally releasing the memory.
// After invoking this method any pointer previously returned by Alloc becomes immediately invalid.
Reset(release bool)
}

Expand Down

0 comments on commit cd72948

Please sign in to comment.