[gameprogrammer] Re: va_start va_end inversion

  • From: "Alan Wolfe" <atrix2@xxxxxxx>
  • To: <gameprogrammer@xxxxxxxxxxxxx>
  • Date: Thu, 15 Jul 2004 14:42:13 -0700

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

void MyFunc(int a,...)

like that (:

----- Original Message ----- 
From: "Triston O'Connor" <tris@xxxxxxxxxxxxx>
To: <gameprogrammer@xxxxxxxxxxxxx>
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@xxxxxxxxxxxxx
> [mailto:gameprogrammer-bounce@xxxxxxxxxxxxx] On Behalf Of Kevin Jenkins
> Sent: Thursday, 15 July 2004 8:12 AM
> To: gameprogrammer@xxxxxxxxxxxxx
> 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


Other related posts: