Bill Holmes wrote:
> And for my own curiosity of how things work my question is; without
> this patch a boolean marshaled as U1 will go to the default case and
> marshal a 32 bit integer.  Will this mess up the arguments passed to
> the C function call because the size being pushed is bigger than the C
> function expects?

It depends on the arch, but at least on x86 and x86_64 it's irrelevant,
because the args are widened to the register size anyways. I guess
any other arch is handling args < regsize this way.

Robert

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to