bugfix
[libfirm] / ir / ir / irmode_t.h
index b05210c..a291d01 100644 (file)
 
 # include "irmode.h"
 
-/** this struct is supposed to completely define a mode **/
+/** This struct is supposed to completely define a mode. **/
 struct ir_mode {
-  modecode code;          /* unambiguous identifier of a mode */
-  ident *name;            /* Name ident of this mode */
-  mode_sort sort;         /* coarse classification of this mode:
-                             int, float, reference ...
-                             (see irmode.h) */
-  int    size;            /* size of the mode in Bits. */
-  int    align;           /* byte alignment */
-  unsigned sign:1;        /* signedness of this mode */
+  modecode   code;         /**< unambiguous identifier of a mode */
+  ident      *name;        /**< Name ident of this mode */
+  mode_sort  sort;         /**< coarse classification of this mode:
+                                int, float, reference ...
+                                (see irmode.h) */
+  int        size;         /**< size of the mode in Bits. */
+  int        align;        /**< byte alignment */
+  unsigned   sign:1;       /**< signedness of this mode */
+  const void *tv_priv;     /**< tarval module will save private data here */
 };
 
 #endif