Bugfix
[libfirm] / ir / tr / mangle.h
index ca97e74..4a49f7a 100644 (file)
@@ -1,8 +1,13 @@
 /* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
-** All rights reserved.
-**
-** Authors: Martin Trapp, Christian Schaefer
-**
+* All rights reserved.
+*/
+
+/**
+* @file mangle.h
+*
+* FIRM name mangling.
+*
+* @author Martin Trapp, Christian Schaefer
 */
 
 /* $Id$ */
 # include "entity.h"
 # include "type.h"
 
-
+/** initializes the name mangling code */
 void init_mangle (void);
 
-/* Computes a definite name for this entity by concatenating
+/** Computes a definite name for this entity by concatenating
    the name of the owner type and the name of the entity with
    a separating "_". f*/
 ident *mangle_entity (entity *ent);
 
-/* Sorry, I'm not sure what this does... seems to copy the string. */
-ident *mangle_type   (type *type);
+/** Sorry, I'm not sure what this does... seems to copy the string. */
+ident *mangle_type   (type *tp);
+
+/** mangle underscore: Returns a new ident that represents first_scnd. */
+ident *mangle_u (ident *first, ident* scnd);
 
-/* Returns a new ident that represents first_scnd. */
+/** mangle: Returns a new ident that represents firstscnd. */
 ident *mangle (ident *first, ident* scnd);