Widl: Properly Output Prototypes for User Types Marshaling Functions
Robert Shearman
rob at codeweavers.com
Mon Sep 12 10:17:18 CDT 2005
Hi,
Currently, the behaviour is to output the user type marshaling functions
when we encounter a typedef with the user_marshal or wire_marshal
attributes. However, this is wrong because the definitions may be #if
0'd out due to conflicting types in the Win32 API and this isn't what
midl does. Therefore this patch outputs the <type>_UserMarshall, etc
functions at the end of the header file if they are used by any proxies
in the source IDL file. I also added support for parsing a few missing
tokens.
Change from last time: it compiles.
Changelog:
- Output prototypes for user marshal functions at the end of the header
and by use.
- Add support for range and ptr attributes and for the "small" base type.
--
Rob Shearman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: widl2.diff
Type: text/x-patch
Size: 9390 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050912/6fd655c1/widl2-0001.diff
More information about the wine-patches
mailing list