or
proc genArray(i, j: int) : seq[cstring] =
result = newSeqOfCap[cstring](j - i + 1)
for k in i .. j:
let s = $k
GC_ref(s)
result.add(s.cstring)
- My stupid usage of cstrings Stefan_Salewski
- Re: My stupid usage of cstrings LeuGim
- Re: My stupid usage of cstrings Stefan_Salewski
- Re: My stupid usage of cstrings LeuGim
