[Mono-devel-list] [PATCH] Fix up pinned variables

Paolo Molaro lupus at ximian.com
Thu Apr 1 11:29:30 EST 2004


On 03/31/04 Ben Maurer wrote:
> A patch for the issue is attached. The reason I changed position from
> uint to ushort is so that it would not increase the size of the object.

Since the patch does what I told you was needed, it's fine to commit.

> I could have made position a bit field, but that would have required me

You cured the macroitis, but it looks like you're in serious risk of
catching the bitfielditis:-) Bitfields have no relevance here and should
not be use in structures that match CLR objects.
Thanks.

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better



More information about the Mono-devel-list mailing list