widl: Output the correct buffer size required for parameters whose sizes are known...
commit41152b7929a07131623e6e4635560982a9ab8e28
authorRob Shearman <robertshearman@gmail.com>
Sun, 30 Nov 2008 16:25:01 +0000 (30 16:25 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 1 Dec 2008 11:46:19 +0000 (1 12:46 +0100)
tree2611ecf69660413e5a16fb9e53fe82b924e9beb6
parent378ea704befead54a7d3f0b3abb8fafff6040fe9
widl: Output the correct buffer size required for parameters whose sizes are known at type-generation time.

Replace code to calculate the size of RPC_FC_STRUCT types with
fields_memsize since the memory size of these types will always be
equal to the buffer size.

Remove dead code in get_required_buffer_size.
tools/widl/typegen.c