From cb246ca7a7bb34c815321a49e3013bc7a35cdc3a Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 9 Dec 2010 00:05:28 +0100 Subject: [PATCH] widl: Support encoding the DECIMAL type in typelibs. --- tools/widl/write_msft.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/widl/write_msft.c b/tools/widl/write_msft.c index d76244558e2..f11de5cd913 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;