I think it is better to replace the whole macros in ddcomimpl.h with inline functions. This is also what Alexandre asked for some time ago, but I was too lazy to implement it
-----Original Message----- From: wine-patches-bounces@winehq.org [mailto:wine-patches- bounces@winehq.org] On Behalf Of Michael Karcher Sent: Sunday, August 10, 2008 4:20 PM To: wine-patches@winehq.org Subject: [PATCH 04/10] ddraw/dsurface_thunks: Add typesafe inline conversion functions.
These are going to replace the CONVERT/CONVERT_REV macros.
dlls/ddraw/surface_thunks.c | 54 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 54 insertions(+), 0 deletions(-)