X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Fmangle.h;h=892bdba1f5f576f1065d18c6e0c8dddce559f26e;hb=93ec9eb45d1630e73ed4932d66683adcc9c28d71;hp=ae87eb96afd08a6c418e670c02863d27541b57b1;hpb=30b120caf1fbc6fcb13c6b3bef8f7132ebff72aa;p=libfirm diff --git a/ir/tr/mangle.h b/ir/tr/mangle.h index ae87eb96a..892bdba1f 100644 --- a/ir/tr/mangle.h +++ b/ir/tr/mangle.h @@ -11,12 +11,12 @@ */ /** -* @file mangle.h -* -* FIRM name mangling -- methods to manipulate names. -* -* @author Martin Trapp, Christian Schaefer -*/ + * @file mangle.h + * + * FIRM name mangling -- methods to manipulate names. + * + * @author Martin Trapp, Christian Schaefer + */ #ifndef _MANGLE_H_ #define _MANGLE_H_ @@ -25,7 +25,7 @@ # include "entity.h" /** initializes the name mangling code */ -void init_mangle (void); +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 @@ -35,7 +35,13 @@ ident *mangle_entity (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); + #endif /* _MANGLE_H_ */