6 character external identifiers - (nf)

jim at ism780b.UUCP jim at ism780b.UUCP
Wed Aug 1 14:30:03 AEST 1984


#R:umcp-cs:-780400:ism780b:25500005:000:410
ism780b!jim    Jul 14 11:46:00 1984

> There is a rather elegant way to replace long external identifiers by
> shorter ones: use the C preprocessor.  It should be easy to write a
> program which generates a set of lines to a file "rename.h" like:
>
>         #define ThisIsAVeryLongName _1ThisIsAVeryLongName
>         #define ThisIsAnother _2ThisIsAnother
>         etc.

I submitted such a program, called shortc.c, to net.sources a while back.



More information about the Comp.lang.c mailing list