fixed doxygen comments
[libfirm] / ir / tr / mangle.h
1 /* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
2 * All rights reserved.
3 */
4
5 /**
6 * @file mangle.h
7 *
8 * FIRM name mangling.
9 *
10 * @author Martin Trapp, Christian Schaefer
11 */
12
13 /* $Id$ */
14
15 # include "ident.h"
16 # include "entity.h"
17 # include "type.h"
18
19 /** initializes the name mangling code */
20 void init_mangle (void);
21
22 /** Computes a definite name for this entity by concatenating
23    the name of the owner type and the name of the entity with
24    a separating "_". f*/
25 ident *mangle_entity (entity *ent);
26
27 /** Sorry, I'm not sure what this does... seems to copy the string. */
28 ident *mangle_type   (type *tp);
29
30 /** mangle underscore: Returns a new ident that represents first_scnd. */
31 ident *mangle_u (ident *first, ident* scnd);
32
33 /** mangle: Returns a new ident that represents firstscnd. */
34 ident *mangle (ident *first, ident* scnd);