Alexandre Julliard : widl: Support encoding the DECIMAL type in typelibs.
Alexandre Julliard
julliard at winehq.org
Thu Dec 9 12:26:22 CST 2010
Module: wine
Branch: master
Commit: cb246ca7a7bb34c815321a49e3013bc7a35cdc3a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cb246ca7a7bb34c815321a49e3013bc7a35cdc3a
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Dec 9 00:05:28 2010 +0100
widl: Support encoding the DECIMAL type in typelibs.
---
tools/widl/write_msft.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/tools/widl/write_msft.c b/tools/widl/write_msft.c
index d762445..f11de5c 100644
--- a/tools/widl/write_msft.c
+++ b/tools/widl/write_msft.c
@@ -849,6 +849,12 @@ static int encode_type(
*alignment = 8;
break;
+ case VT_DECIMAL:
+ *encoded_type = default_type;
+ *width = 16;
+ *alignment = 8;
+ break;
+
case VT_VOID:
*encoded_type = 0x80000000 | (VT_EMPTY << 16) | vt;
*width = 0;
More information about the wine-cvs
mailing list