- some comments
[cparser] / type_t.h
index f9b5ae6..b4f9220 100644 (file)
--- a/type_t.h
+++ b/type_t.h
@@ -92,7 +92,7 @@ struct builtin_type_t {
 struct pointer_type_t {
        type_base_t  base;
        type_t      *points_to;
-       variable_t  *base_variable;  /**< Microsoft __based() extension */
+       variable_t  *base_variable;  /**< Microsoft __based() extension: base variable or NULL. */
 };
 
 struct reference_type_t {
@@ -162,11 +162,12 @@ struct compound_type_t {
 };
 
 struct enum_type_t {
-       type_base_t     base;
+       type_base_t         base;
+       atomic_type_kind_t  akind; /**< underlying atomic type */
        /** the enum entity. You can find the enum entries by walking the
         *  enum->base.next list until you don't find ENTITY_ENUM_VALUE entities
         *  anymore */
-       enum_t         *enume;
+       enum_t             *enume;
 };
 
 struct typedef_type_t {