Wrap C function which takes variable lengthed parameters?

Greg Ewing greg at cosc.canterbury.ac.nz
Mon Dec 17 20:06:09 EST 2001


Jason Harper wrote:
> 
> I have used a compiler (fortunately
> long dead), which claimed to be fully ANSI compliant, that absolutely
> required that a varargs function consume exactly as many args as were
> passed to it or it would crash on return.

Hmmm, I suppose it's not guaranteed, then. But it
works on all the major platforms around today,
as far as I know.

-- 
Greg Ewing, Computer Science Dept, University of Canterbury,	  
Christchurch, New Zealand
To get my email address, please visit my web page:	  
http://www.cosc.canterbury.ac.nz/~greg



More information about the Python-list mailing list