[PATCH] guiddef.h: Improve __uuidof implementation.

Jacek Caban jacek at codeweavers.com
Wed Feb 5 10:12:22 CST 2020


This patch ensures that the reference is unique and identical for all 
uses in module, fixes handling of const types and uses direct reference 
instead of depending on optimizer to produce sane code.

Based on patch by Kevin Puetz.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---
  include/guiddef.h | 39 +++++++++++++++++++++++++++------------
  1 file changed, 27 insertions(+), 12 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-guiddef.h-Improve-__uuidof-implementation.txt
Type: text/x-patch
Size: 2263 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200205/a0464e89/attachment.bin>


More information about the wine-devel mailing list