annotate mangle.h @ 4479:423ce4451ca8

tested and fixed on 2.2.x, more comments
author alex
date Sat, 02 Feb 2002 17:35:53 +0000
parents 05ad38cc0338
children 9917a783d5de
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4243
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
1 /* mangle.h - This file has some CPP macros to deal with different symbol
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
2 * mangling across binary formats.
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
3 * (c)2002 by Felix Buenemann <atmosfear at users.sourceforge.net>
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
4 * File licensed under the GPL, see http://www.fsf.org/ for more info.
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
5 */
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
6
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
7 #ifndef __MANGLE_H
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
8 #define __MANGLE_H
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
9
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
10 /* Feel free to add more to the list, eg. a.out IMO */
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
11 #if defined(__CYGWIN__)
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
12 #define MANGLE(a) "_" #a
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
13 #else
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
14 #define MANGLE(a) #a
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
15 #endif
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
16
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
17 #endif /* !__MANGLE_H */
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
18