I am writting a JNI function for a c++ funtion that takes fn(a,b,c,...) variable arguments. from JAVA, i pass a collection type and in native implementation i will get a native_fn(a,b,c, jobjectArray varlist);
from varlist, i will create array of char* as my data is array of strings only.
I want to create a va_list from a array of char*. ( array of strings), so that i will introduce a new function in c++ fn(a,b,c,va_list) and pass my dynamically created va_list.
have anyone done this before. how to create va_list from array of char* ?