[3/5] widl: dereference operator in expr work on any declared pointer (try 2)
Michael Karcher
wine at mkarcher.dialup.fu-berlin.de
Sun Jan 11 08:00:18 CST 2009
If we take MIDL 6.00.0366 as reference, the following method type is
legal:
int frobnicate([size_is(x)] int * bar1,
[size_is(*bar1)] int * bar2,
int x);
Without this patch, size_is(*bar1) would be rejected.
Try 2: Includes a test case with a signature like the one shown above.
---
dlls/rpcrt4/tests/server.c | 23 +++++++++++++++++++++++
dlls/rpcrt4/tests/server.idl | 1 +
tools/widl/expr.c | 3 +++
3 files changed, 27 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7bf4daf115fe0bf4255af7446b6e16c5721fd937.diff
Type: text/x-patch
Size: 2898 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090111/e2b80912/attachment.bin
More information about the wine-patches
mailing list