http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

TheGrumpyProgrammer



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gameprogrammer] Re: va_start va_end inversion



hes using a variable amount of params with the ...

void MyFunc(int a,...)

like that (:

----- Original Message ----- 
From: "Triston O'Connor" <tris@quikit.com.au>
To: <gameprogrammer@freelists.org>
Sent: Thursday, July 15, 2004 2:22 PM
Subject: [gameprogrammer] Re: va_start va_end inversion


>
> If you know the function name you're going to be calling I assume you know
> the number and types of arguments it will accept, so couldn't you use that
> info to extract the parameters?
>
>
> -----Original Message-----
> From: gameprogrammer-bounce@freelists.org
> [mailto:gameprogrammer-bounce@freelists.org] On Behalf Of Kevin Jenkins
> Sent: Thursday, 15 July 2004 8:12 AM
> To: gameprogrammer@freelists.org
> Subject: [gameprogrammer] va_start va_end inversion
>
> Using va_start and va_end I've encoded a variable set of parameters to a
> bytestream.
>
> I want to invert this.  Given a bytestream, I want to get the original set
> of parameters.  I want to then call a function that takes that set of
> parameters.
>
> How?
>
>
>
> ---------------------
> To unsubscribe go to http://gameprogrammer.com/mailinglist.html
>
>
>
>
>
>
>
> ---------------------
> To unsubscribe go to http://gameprogrammer.com/mailinglist.html
>
>



---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html