[Mono-dev] Marshalling: Bug in StructLayout?
prakash at punnoor.de
Sun Aug 19 04:01:46 EDT 2007
Am Samstag 18 August 2007 schrieb Zoltan Varga:
> This is indeed a mono bug. We align structures smaller than sizeof(void*)
> to sizeof(void*) because the JIT memcpy/memset routines require it. So your
> AVRational struct has an min alignment of 8 bytes. The workaround for now
> is to declare AVRational as having explicit layout.
Hi, thx for confiming this. Should I make a bugzille report? As I'd like to
know when this gets fixed, as well.
//\ Prakash Punnoor /\\
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070819/ca2543c2/attachment.bin
More information about the Mono-devel-list