X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=type_t.h;h=5fc4a3e7692e91f1a245c6ef22aaed566569ef6d;hb=3e3bf65b33ece40f474c91dac37cf8ea716a5b03;hp=4767d513928f2b3ad46959d231be8ab27c17243e;hpb=557d5a86be9428156b887e4494e574de2d9400ac;p=cparser diff --git a/type_t.h b/type_t.h index 4767d51..5fc4a3e 100644 --- a/type_t.h +++ b/type_t.h @@ -83,6 +83,7 @@ struct enum_type_t { symbol_t *symbol; enum_entry_t *entries; source_position_t source_position; + enum_type_t *next; }; struct pointer_type_t { @@ -90,18 +91,17 @@ struct pointer_type_t { type_t *points_to; }; -struct method_parameter_type_t { - type_t *type; - symbol_t *symbol; - method_parameter_type_t *next; +struct method_parameter_t { + type_t *type; + method_parameter_t *next; }; struct method_type_t { - type_t type; - type_t *result_type; - method_parameter_type_t *parameter_types; - int variadic; - int unspecified_parameters; + type_t type; + type_t *result_type; + method_parameter_t *parameters; + int variadic; + int unspecified_parameters; }; struct compound_type_t { @@ -109,6 +109,8 @@ struct compound_type_t { symbol_t *symbol; context_t context; source_position_t source_position; + int defined; + compound_type_t *next; }; #endif