mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-18 00:48:35 +00:00
see what appveyor thinks about this
This commit is contained in:
@@ -247,7 +247,7 @@ proc `[]=`*(t: StringTableRef, key, val: string) {.
|
||||
rawInsert(t, t.data, key, val)
|
||||
inc(t.counter)
|
||||
|
||||
proc newStringTable*(mode: StringTableMode): owned StringTableRef {.
|
||||
proc newStringTable*(mode: StringTableMode): owned(StringTableRef) {.
|
||||
rtlFunc, extern: "nst$1".} =
|
||||
## Creates a new empty string table.
|
||||
##
|
||||
@@ -260,7 +260,7 @@ proc newStringTable*(mode: StringTableMode): owned StringTableRef {.
|
||||
newSeq(result.data, startSize)
|
||||
|
||||
proc newStringTable*(keyValuePairs: varargs[string],
|
||||
mode: StringTableMode): owned StringTableRef {.
|
||||
mode: StringTableMode): owned(StringTableRef) {.
|
||||
rtlFunc, extern: "nst$1WithPairs".} =
|
||||
## Creates a new string table with given `key, value` string pairs.
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user