The code you gave seems to work correctly, and so does this:
proc give3(val: cstring): seq[cstring] {.importc: "give_me_three".}
RunWhat'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".}
RunWhat's the problem?