Commit 9c30da77 authored by Dan Hipschman's avatar Dan Hipschman Committed by Alexandre Julliard

widl: Shrink type_t structure.

parent 00ce4112
...@@ -1200,7 +1200,7 @@ static type_t *make_type(unsigned char type, type_t *ref) ...@@ -1200,7 +1200,7 @@ static type_t *make_type(unsigned char type, type_t *ref)
t->fields = NULL; t->fields = NULL;
t->ifaces = NULL; t->ifaces = NULL;
t->typestring_offset = 0; t->typestring_offset = 0;
t->ignore = parse_only; t->ignore = (parse_only != 0);
t->is_const = FALSE; t->is_const = FALSE;
t->sign = 0; t->sign = 0;
t->defined = FALSE; t->defined = FALSE;
......
...@@ -208,9 +208,13 @@ struct _type_t { ...@@ -208,9 +208,13 @@ struct _type_t {
ifref_list_t *ifaces; /* coclasses */ ifref_list_t *ifaces; /* coclasses */
type_t *orig; /* dup'd types */ type_t *orig; /* dup'd types */
unsigned int typestring_offset; unsigned int typestring_offset;
int ignore, is_const, sign;
int defined, written, user_types_registered;
int typelib_idx; int typelib_idx;
unsigned int ignore : 1;
unsigned int is_const : 1;
unsigned int defined : 1;
unsigned int written : 1;
unsigned int user_types_registered : 1;
int sign : 2;
}; };
struct _var_t { struct _var_t {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment