gov.llnl.babel.backend.mangler
Class CMangler
- NameMangler
The CMangler class provides a
NameMangler
for the C language. Most
C compilers allow arbitrarily large identifiers and consider an
arbitrarily large number of characters in resolving symbols too. However,
the C standard only promises that only the first 31 characters are
significant. Some brain damaged C compilers may require name mangling.
CMangler(int maxNameLen, int maxUnmangled) - Create a name mangler for C.
|
CMangler
public CMangler(int maxNameLen,
int maxUnmangled)
throws NoSuchAlgorithmException
Create a name mangler for C. This constructor provides the
C character set.
maxNameLen
- the maximum allowable number of characters in a
name. Typically, this is 31 for the ANSI C
standard.maxUnmangled
- the number of characters out of
maxNameLen
that should be used
for unmangled content.