Alistair Leslie-Hughes : widl: Support basic BYTE type.

Alexandre Julliard julliard at winehq.org
Fri Mar 4 15:53:06 CST 2022


Module: wine
Branch: master
Commit: 3f942a32c3958a1bf74c3543193e85fbad102610
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=3f942a32c3958a1bf74c3543193e85fbad102610

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Thu Mar  3 22:32:11 2022 +1100

widl: Support basic BYTE type.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 tools/widl/typetree.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tools/widl/typetree.c b/tools/widl/typetree.c
index dc4db35e835..800ddf77219 100644
--- a/tools/widl/typetree.c
+++ b/tools/widl/typetree.c
@@ -226,12 +226,14 @@ static size_t append_type_signature(char **buf, size_t *len, size_t pos, type_t
         case TYPE_BASIC_DOUBLE:
             n += strappend(buf, len, pos + n, "f8");
             return n;
+        case TYPE_BASIC_BYTE:
+            n += strappend(buf, len, pos + n, "u1");
+            return n;
         case TYPE_BASIC_INT16:
         case TYPE_BASIC_INT3264:
         case TYPE_BASIC_LONG:
         case TYPE_BASIC_CHAR:
         case TYPE_BASIC_HYPER:
-        case TYPE_BASIC_BYTE:
         case TYPE_BASIC_WCHAR:
         case TYPE_BASIC_ERROR_STATUS_T:
         case TYPE_BASIC_HANDLE:




More information about the wine-cvs mailing list