[PATCH 3/4] widl: Fix detection of non-pointer context handles.

Robert Shearman rob at codeweavers.com
Thu Mar 27 09:05:43 CDT 2008


is_ptr cannot be used because it follows the chain of types into the 
type which has the context_handle attribute, which is typically "void *" 
and so causes these context handles to be incorrectly detected as 
context handles. Instead, we can use is_aliaschain_ptr to follow the 
chain of aliases without following pointers and the absence of the 
context_handle attribute indicates that it must be present on a type 
after following a pointer.
---
  tools/widl/client.c  |    8 ++++++--
  tools/widl/server.c  |    6 +++++-
  tools/widl/typegen.c |    6 +++++-
  3 files changed, 16 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bc05e0b4f196436ea18062b25a8c10efdb90e5da.diff
Type: text/x-patch
Size: 3320 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080327/ef8ccb79/attachment.bin 


More information about the wine-patches mailing list