You mean an array? ( va_list ) Or you mean that sometimes you have 2 
arguments and sometimes 3 arguments?

I believe it's not possible to have to many things being "variable" in the 
meaning "using an unplanned memory". RenderScript doesn't affect memory, it 
just uses the one that have been declared. 

So if your var arg list doesn't need to "add" more memory to the stack then 
you should find a trick around to do it. 
On the other hand, If your var arg list does need to address more memory, 
then I am pretty sure you can't do that.

On Tuesday, April 17, 2012 10:36:07 PM UTC+7, Harald Gustafsson wrote:
>
> Hi,
>
> Is it possible to use variable argument list (...) in Renderscript, i.e. 
> va_list, va_start, va_end, etc. Want to use it for internal static defined 
> functions.
>
> /Harald
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to