On Wed, Apr 28, 2004 at 10:36:00PM -0700, chromatic wrote: > > Or, we forget about these special cased pointer to int and pass a > > managed struct. > > That's cleaner from the C side, but it's enough of a pain to set up > managed structs on the calling side that I'd rather do it only when it's > absolutely necessary. > > Provided we pick a convention that makes sense (that is, out parameters > go in I5, I6, ... In, and then the actual returned value goes at the end > of the list in In+1) and stick with it, I like option A a little better.
Is there a good reason not to put the returned value first? Makes more sense to me. Tim.