Chromatic <[EMAIL PROTECTED]> wrote:

> ...  Still, there has to be some extra support for out
> parameters, or else NCI will walk all over the newly-updated contents of
> the registers with the return results.

Ah yep. That's a problem.

> I patched pcf_i_pt33()

missing test?

> ... manually to prevent it from assigning to I5 and
> the following call does exactly what I want:

>       (width, height) = SizeText( font, text, width, height )

Well, that's ok for this one. Bu, what if we have:

  int foo(int *i, int *j) {}

          in I5   in I6
  out I5

We could fake that as:

  (i, j, retval) = foo(i, j)

and count each pointer type as retval too. Or something...

Or, we forget about these special cased pointer to int and pass a
managed struct.

leo

Reply via email to