21.03.2013, 13:42
One option would be to use varargs. function(...), with accessing via getarg. Other would require use of pointers, and implementing custom String pointer tag. You've probably seen how (for example) CallLocalFunction handles argument types: you pass the format and use it as info of variable types.