widl: Shrink type_t structure.

This commit is contained in:
Dan Hipschman 2007-05-24 17:49:21 -07:00 committed by Alexandre Julliard
parent 00ce411231
commit 9c30da77ba
2 changed files with 7 additions and 3 deletions

View File

@ -1200,7 +1200,7 @@ static type_t *make_type(unsigned char type, type_t *ref)
t->fields = NULL;
t->ifaces = NULL;
t->typestring_offset = 0;
t->ignore = parse_only;
t->ignore = (parse_only != 0);
t->is_const = FALSE;
t->sign = 0;
t->defined = FALSE;

View File

@ -208,9 +208,13 @@ struct _type_t {
ifref_list_t *ifaces; /* coclasses */
type_t *orig; /* dup'd types */
unsigned int typestring_offset;
int ignore, is_const, sign;
int defined, written, user_types_registered;
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 {