annotate libpostproc/mangle.h @ 1985:b2bc62fdecc0 libavcodec

move the 0x80 vector outside of the function, thus saving the compiler the trouble of having to initialize each byte on the stack individually
author melanson
date Tue, 27 Apr 2004 04:06:24 +0000
parents 556b5d0b5228
children 336a239ad9a4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1069
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
1 /* mangle.h - This file has some CPP macros to deal with different symbol
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
2 * mangling across binary formats.
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
3 * (c)2002 by Felix Buenemann <atmosfear at users.sourceforge.net>
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
4 * File licensed under the GPL, see http://www.fsf.org/ for more info.
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
5 */
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
6
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
7 #ifndef __MANGLE_H
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
8 #define __MANGLE_H
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
9
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
10 /* Feel free to add more to the list, eg. a.out IMO */
1161
556b5d0b5228 mangle on mingw32 patch by ("Sascha Sommer" <saschasommer at freenet dot de>)
michaelni
parents: 1069
diff changeset
11 #if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__OS2__) || \
1069
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
12 (defined(__OpenBSD__) && !defined(__ELF__))
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
13 #define MANGLE(a) "_" #a
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
14 #else
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
15 #define MANGLE(a) #a
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
16 #endif
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
17
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
18 #endif /* !__MANGLE_H */
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
19