[CLASSES]: Add a 'visited' flag to struct class

So that tools can mark it as being processed already, such as when ctracer
needs to emit forward declarations for types in function parameters or return
types.

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2006-12-20 13:49:51 -02:00
parent 4d98e6f80b
commit e15d528941
1 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,8 @@ struct class {
unsigned int refcnt;
signed int diff;
struct class *class_to_diff;
unsigned char declaration:1;
uint8_t declaration:1;
uint8_t visited:1;
};
struct class_member {