[Mono-dev] [PATCH] Win32 pinvoke3 runtime tests fixes
Bill Holmes
billholmes54 at gmail.com
Mon Jul 28 17:32:30 EDT 2008
Hello Zoltan,
This was a link that was shared with me on IRC.
>From http://www.sco.com/developers/devspecs/abi386-4.pdf
"A function that returns a structure or union also sets %eax to the
value of the original
address of the caller's area before it returns. Thus when the caller receives
control again, the address of the returned object resides in register
%eax and can
be used to access the object. Both the calling and the called functions must
cooperate to pass the return value successfully:"
> Also, this should
> only be needed for methods which can be called from native code (
> method->wrapper_type == MONO_WRAPPER_NATIVE_TO_MANAGED).
>
I will add this.
-bill
More information about the Mono-devel-list
mailing list