diff options
author | Araq <rumpf_a@web.de> | 2019-04-01 17:45:23 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2019-04-01 17:45:23 +0200 |
commit | 0f0cc9e6eba7ce867d6a1858c8b3b154c95eff71 (patch) | |
tree | e23b994a59cae923863ef29474ba3e93ec4201c1 | |
parent | 204ecfc817e135113f8a00455f56944f9a39bab1 (diff) | |
download | Nim-0f0cc9e6eba7ce867d6a1858c8b3b154c95eff71.tar.gz |
see what appveyor thinks about this
-rw-r--r-- | lib/pure/strtabs.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/strtabs.nim b/lib/pure/strtabs.nim index f158bb2fc..269fe11f7 100644 --- a/lib/pure/strtabs.nim +++ b/lib/pure/strtabs.nim @@ -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. ## |