annotate mangle.h @ 9009:f2d4324561b2

1) Removed the code to remove {} from sub_read_line_ssa 2) Put this code in a separated function: sub_pp_ssa 3) After recoding added a call to sub_pp_ssa. To be more acqurate: I added a pointer to function to hold a postprocessing function to be invoked after using iconv. There are one pointer for each format, if this pointer isn.t NULL the post processing function is called. patch by Salvador Eduardo Tropea <salvador@inti.gov.ar> help by <hephooey@fastmail.fm>
author arpi
date Sun, 19 Jan 2003 00:54:55 +0000
parents 9d55352cea20
children 4e2d477981e2
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 */
6826
a8caf30732de Flush from my local tree, probably more future safe mangle decision of OpenBSD, in case they switch over to ELF.
atmos4
parents: 5872
diff changeset
11 #if defined(__CYGWIN__) || defined(__OS2__) || \
8249
9d55352cea20 OpenBSD && ELF fix
atmos4
parents: 6826
diff changeset
12 (defined(__OpenBSD__) && !defined(__ELF__))
4243
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
13 #define MANGLE(a) "_" #a
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
14 #else
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
15 #define MANGLE(a) #a
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
16 #endif
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
17
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
18 #endif /* !__MANGLE_H */
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
19