Rename resetStringTable to clearStringTable
This commit is contained in:
parent
58c29c29ae
commit
43ed83384c
2 changed files with 2 additions and 2 deletions
|
|
@ -168,7 +168,7 @@ proc newStringTable*(mode: StringTableMode): StringTableRef {.
|
|||
result.counter = 0
|
||||
newSeq(result.data, startSize)
|
||||
|
||||
proc resetStringTable*(s: var StringTableRef, mode: StringTableMode) =
|
||||
proc clearStringTable*(s: StringTableRef, mode: StringTableMode) =
|
||||
## resets a string table to be empty again.
|
||||
s.mode = mode
|
||||
s.counter = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue