"Salz, Rich" wrote:
>
> Why pass a reference? C has been able to pass&return aggregate types since
> v7 :)
Good point.
> >only way to do this validly is to make the functions
> >actually take a foo* as their argument, surely?
>
> Yes you must do that.
>
> >I'll bet in most cases you can make the foo static
>
> Unless I misunderstand what you mean, that's not thread-safe.
It is if the function is always the same (which is what I meant).
Cheers,
Ben.
--
SECURE HOSTING AT THE BUNKER! http://www.thebunker.net/hosting.htm
http://www.apache-ssl.org/ben.html
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]