According to the SWIG document in PMunch's posts, when you call C function with variable length arguments, the number of arguments as well are their types and sizes must be known for C compiler. So, you cannot pass a sequence to such a C function as variable length arguments because the length of sequence is unknown at compile time.
You need to manually expand seq like `printf("%d, %d\n", myseq[0], myseq[1])` or find similar C function that takes a pointer to an array instead of variable length arguments. If the number of arguments you want to pass is known at compile time, you can put them in an array instead of a seq and use macro like this: <https://demotomohiro.github.io/littlesugar/unpackToArgs.html> <https://github.com/demotomohiro/littlesugar/blob/main/src/littlesugar/unpackToArgs.nim>