The code you gave seems to work correctly, and so does this: proc give3(val: cstring): seq[cstring] {.importc: "give_me_three".} Run
What's the problem?
The code you gave seems to work correctly, and so does this: proc give3(val: cstring): seq[cstring] {.importc: "give_me_three".} Run
What's the problem?