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
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to