type
    CsTuple = tuple[first: cstring, second: cstring] CstSeq = seq[CsTuple]
proc test(p: openarray[CsTuple]) =
    

for t in p:
    echo "first: " & $t[0] & ", second: " & $t[1]

let ts = 
@[("a0".cstring,"a1".cstring),("b0".cstring,"b1".cstring),("c0".cstring,"c1".cstring)]
 test(ts) 

Reply via email to