- get_entity_nr() now takes an cont entity
[libfirm] / ir / tr / mangle.h
index 099f62c..3ef759a 100644 (file)
@@ -21,8 +21,8 @@
 #ifndef _MANGLE_H_
 #define _MANGLE_H_
 
-# include "ident.h"
-# include "entity.h"
+#include "ident.h"
+#include "entity.h"
 
 /** initializes the name mangling code */
 void   firm_init_mangle (void);
@@ -30,15 +30,18 @@ void   firm_init_mangle (void);
 /** Computes a definite name for this entity by concatenating
    the name of the owner type and the name of the entity with
    a separating "_". */
-ident *mangle_entity (entity *ent);
+ident *mangle_entity (ir_entity *ent);
 
 /** mangle underscore: Returns a new ident that represents first_scnd. */
 ident *mangle_u (ident *first, ident* scnd);
 
+/** mangle dot: Returns a new ident that represents first.scnd. */
+ident *mangle_dot (ident *first, ident* scnd);
+
 /** mangle: Returns a new ident that represents firstscnd. */
 ident *mangle   (ident *first, ident* scnd);
 
 /** returns a mangled name for a Win32 function using it's calling convention */
-ident *decorate_win32_c_fkt(entity *ent);
+ident *decorate_win32_c_fkt(ir_entity *ent);
 
 #endif /* _MANGLE_H_ */