Module: wine
Branch: master
Commit: ebac6a6ac442d00cb63ce1753eabd9befbe7e683
URL: https://source.winehq.org/git/wine.git/?a=commit;h=ebac6a6ac442d00cb63ce175…
Author: Richard Pospesel <richard(a)torproject.org>
Date: Tue Aug 13 21:08:05 2019 -0500
widl: Use type_pointer_get_default_fc() in declare_var().
Signed-off-by: Richard Pospesel <richard(a)torproject.org>
Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
tools/widl/parser.y | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/widl/parser.y b/tools/widl/parser.y
index ff6ed1f..d45e682 100644
--- a/tools/widl/parser.y
+++ b/tools/widl/parser.y
@@ -1559,7 +1559,7 @@ static var_t *declare_var(attr_list_t *attrs, decl_spec_t *decl_spec, const decl
warning_loc_info(&v->loc_info,
"%s: pointer attribute applied to interface "
"pointer type has no effect\n", v->name);
- if (!ptr_attr && top && (*pt)->details.pointer.def_fc != FC_RP)
+ if (!ptr_attr && top && type_pointer_get_default_fc(*pt) != FC_RP)
{
/* FIXME: this is a horrible hack to cope with the issue that we
* store an offset to the typeformat string in the type object, but
Module: wine
Branch: master
Commit: cd97a85e0f851ec2cedd4e3dbf234618bb02f36e
URL: https://source.winehq.org/git/wine.git/?a=commit;h=cd97a85e0f851ec2cedd4e3d…
Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com>
Date: Wed Aug 14 00:38:00 2019 +0000
include: Added tpcshrd.h.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
include/Makefile.in | 1 +
include/tpcshrd.h | 29 +++++++++++++++++++++++++++++
2 files changed, 30 insertions(+)
diff --git a/include/Makefile.in b/include/Makefile.in
index 4b50ade..94dd8a0 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -633,6 +633,7 @@ SOURCES = \
tlogstg.idl \
tmschema.h \
tom.idl \
+ tpcshrd.h \
traffic.h \
transact.idl \
twain.h \
diff --git a/include/tpcshrd.h b/include/tpcshrd.h
new file mode 100644
index 0000000..e1565bd
--- /dev/null
+++ b/include/tpcshrd.h
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2019 Alistair Leslie-Hughes
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+#ifndef __WISPSHRD_H
+#define __WISPSHRD_H
+
+#define WM_TABLET_DEFBASE 0x02c0
+#define WM_TABLET_MAXOFFSET 0x20
+#define WM_TABLET_ADDED (WM_TABLET_DEFBASE + 8)
+#define WM_TABLET_DELETED (WM_TABLET_DEFBASE + 9)
+#define WM_TABLET_FLICK (WM_TABLET_DEFBASE + 11)
+#define WM_TABLET_QUERYSYSTEMGESTURESTATUS (WM_TABLET_DEFBASE + 12)
+
+
+#endif /* __WISPSHRD_H */