Re: How to build va_list on 64bit Intel/darwin?
Re: How to build va_list on 64bit Intel/darwin?
- Subject: Re: How to build va_list on 64bit Intel/darwin?
- From: Jean-Daniel Dupas <email@hidden>
- Date: Wed, 9 Sep 2009 14:51:13 +0200
Le 9 sept. 2009 à 14:20, lbland a écrit :
hi-
On 32-bit, I can build a va_list by hand (using simple pointer
arithmetic) and call functions that accept va_list.
But, on 64-bit the va_list changed and the way I build va_list on 32-
bit does not work.
Are there some functions that I can uses to push variables onto the
va_list (stack)? - maybe even cross-platform GNU functions?
... ANSI-C defines how to pop them off, but I can't find a good way
to push them on.
thanks!-
If you want to build dynamic function call, use something like ffi
which will take care of this for you.
man ffi for details.
-- Jean-Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden