widl: Increment the buffer offset by 8 for embedded pointers inside varying arrays...
commitfb224429f7f5bcd66798ceb1709c048789238e41
authorRob Shearman <robertshearman@gmail.com>
Tue, 1 Jul 2008 23:00:43 +0000 (2 00:00 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 2 Jul 2008 09:38:47 +0000 (2 11:38 +0200)
treea46d22131ddb0005b2b46a41cb422f2a5b449e7c
parent182a2ae3150cdf0defd8c85c021175d1238901ca
widl: Increment the buffer offset by 8 for embedded pointers inside varying arrays in varying structures.

The 8 bytes are for the variance and offset and are added just before
the array, as seen in the marshalling code in rpcrt4. No offset needs
to be added for non-varying structures since the buffer mark is set
after the conformance in marshalled or unmarshalled.
tools/widl/typegen.c