can you build a va_list in a native method?
843829Sep 26 2002 — edited Oct 1 2002I'm trying to write to a printf like method that our company uses for logging. There are two versions - one with open ended arguments (...) and one with a va_list.
Is there anyway to do this with JNI going from Java to C? Is it possible to build a va_list? Worse comes to worst I'll just make a few versions of the native methods that take 1 string, 2 strings, 3 strings, etc, but I'd like to find a slicker way of doing it.
Any help is appreciated.
Thanks!
Mike