kinds to be added to datastructures
[libfirm] / ir / common / firm_common.h
index 090a19f..12878e6 100644 (file)
@@ -28,7 +28,9 @@ typedef enum {
   k_entity,     /**< an entity */
   k_type,       /**< a type */
   k_ir_node,    /**< an ir node */
-  k_ir_loop
+  k_ir_loop,    /**< a loop */
+  k_ir_mode,    /**< a ir mode */
+  k_tarval      /**< a tarval */
 } firm_kind;
 
 /**
@@ -36,7 +38,7 @@ typedef enum {
  *
  * @param firm_thing  pointer repraesenting a firm object
  */
-firm_kind get_kind(void *firm_thing);
+firm_kind get_kind(const void *firm_thing);
 
 /** Returns the kind of a thing as a string. */
 const char* print_firm_kind(void *firm_thing);