see what appveyor thinks about this
This commit is contained in:
parent
204ecfc817
commit
0f0cc9e6eb
1 changed files with 2 additions and 2 deletions
|
|
@ -247,7 +247,7 @@ proc `[]=`*(t: StringTableRef, key, val: string) {.
|
||||||
rawInsert(t, t.data, key, val)
|
rawInsert(t, t.data, key, val)
|
||||||
inc(t.counter)
|
inc(t.counter)
|
||||||
|
|
||||||
proc newStringTable*(mode: StringTableMode): owned StringTableRef {.
|
proc newStringTable*(mode: StringTableMode): owned(StringTableRef) {.
|
||||||
rtlFunc, extern: "nst$1".} =
|
rtlFunc, extern: "nst$1".} =
|
||||||
## Creates a new empty string table.
|
## Creates a new empty string table.
|
||||||
##
|
##
|
||||||
|
|
@ -260,7 +260,7 @@ proc newStringTable*(mode: StringTableMode): owned StringTableRef {.
|
||||||
newSeq(result.data, startSize)
|
newSeq(result.data, startSize)
|
||||||
|
|
||||||
proc newStringTable*(keyValuePairs: varargs[string],
|
proc newStringTable*(keyValuePairs: varargs[string],
|
||||||
mode: StringTableMode): owned StringTableRef {.
|
mode: StringTableMode): owned(StringTableRef) {.
|
||||||
rtlFunc, extern: "nst$1WithPairs".} =
|
rtlFunc, extern: "nst$1WithPairs".} =
|
||||||
## Creates a new string table with given `key, value` string pairs.
|
## Creates a new string table with given `key, value` string pairs.
|
||||||
##
|
##
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue