Robert Shearman : widl:
Make all pointer fields of expr_t structure constant.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Feb 7 06:05:42 CST 2006
Module: wine
Branch: refs/heads/master
Commit: 0d22347f4459c6a4d43bc1761ce8c82bcaa0dde8
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=0d22347f4459c6a4d43bc1761ce8c82bcaa0dde8
Author: Robert Shearman <rob at codeweavers.com>
Date: Tue Feb 7 12:28:20 2006 +0100
widl: Make all pointer fields of expr_t structure constant.
---
tools/widl/widltypes.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/tools/widl/widltypes.h b/tools/widl/widltypes.h
index 487b4ad..0534339 100644
--- a/tools/widl/widltypes.h
+++ b/tools/widl/widltypes.h
@@ -165,14 +165,14 @@ struct _attr_t {
struct _expr_t {
enum expr_type type;
- expr_t *ref;
+ const expr_t *ref;
union {
long lval;
- char *sval;
- expr_t *ext;
- typeref_t *tref;
+ const char *sval;
+ const expr_t *ext;
+ const typeref_t *tref;
} u;
- expr_t *ext2;
+ const expr_t *ext2;
int is_const;
long cval;
/* parser-internal */
More information about the wine-cvs
mailing list