[PATCH 2/2] widl: Support basic BYTE type
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Thu Mar 3 05:32:11 CST 2022
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
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:
--
2.34.1
More information about the wine-devel
mailing list