[WIDL 16/20] Remove Some Duplication

Robert Shearman rob at codeweavers.com
Fri Dec 23 05:46:12 CST 2005


ChangeLog:
Remove some duplicated code by calling an improved
get_required_buffer_size.

Add some more newlines in the generated code to separate separate
stages.

Calculate the buffer size of [out] arguments in generated server code.

Fix the direction passed into unmarshall_arguments.

    tools/widl/client.c  |   46
+++++++---------------------------------------
    tools/widl/server.c  |   34 +++++++++++++++++++++++++++++++---
    tools/widl/typegen.c |   23 +++++++++++++++++------
    tools/widl/typegen.h |    2 +-
    4 files changed, 56 insertions(+), 49 deletions(-)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9a8ee1a35ff4da390c167b034b570d06abef69ad.diff
Type: text/x-patch
Size: 7014 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20051223/0dbcdc9b/9a8ee1a35ff4da390c167b034b570d06abef69ad-0001.diff


More information about the wine-patches mailing list