[PATCH 1/2] widl: Output the correct buffer size required for parameters whose sizes are known at type-generation time.

Rob Shearman robertshearman at gmail.com
Sun Nov 30 10:25:01 CST 2008


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 |   78 ++++++--------------------------------------------
 1 files changed, 9 insertions(+), 69 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5f8f5e85c26614f44b7a91abf44e67813e2b21ef.diff
Type: text/x-patch
Size: 3710 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081130/6c719123/attachment.bin 


More information about the wine-patches mailing list