OLD | NEW |
1 /* | 1 /* |
2 * jmorecfg.h | 2 * jmorecfg.h |
3 * | 3 * |
4 * Copyright (C) 1991-1997, Thomas G. Lane. | 4 * Copyright (C) 1991-1997, Thomas G. Lane. |
5 * This file is part of the Independent JPEG Group's software. | 5 * This file is part of the Independent JPEG Group's software. |
6 * For conditions of distribution and use, see the accompanying README file. | 6 * For conditions of distribution and use, see the accompanying README file. |
7 * | 7 * |
8 * This file contains additional configuration options that customize the | 8 * This file contains additional configuration options that customize the |
9 * JPEG software for special applications or support machine-dependent | 9 * JPEG software for special applications or support machine-dependent |
10 * optimizations. Most users will not need to touch this file. | 10 * optimizations. Most users will not need to touch this file. |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 * or code profilers that require it. | 188 * or code profilers that require it. |
189 */ | 189 */ |
190 | 190 |
191 /* a function called through method pointers: */ | 191 /* a function called through method pointers: */ |
192 #define METHODDEF(type) static type | 192 #define METHODDEF(type) static type |
193 /* a function used only in its module: */ | 193 /* a function used only in its module: */ |
194 #define LOCAL(type) static type | 194 #define LOCAL(type) static type |
195 /* a function referenced thru EXTERNs: */ | 195 /* a function referenced thru EXTERNs: */ |
196 #define GLOBAL(type) type | 196 #define GLOBAL(type) type |
197 | 197 |
198 #ifdef _FX_MANAGED_CODE_ | |
199 #define EXTERN(type) extern "C" type | |
200 #else | |
201 /* a reference to a GLOBAL function: */ | 198 /* a reference to a GLOBAL function: */ |
202 #define EXTERN(type) extern type | 199 #define EXTERN(type) extern type |
203 #endif | |
204 | 200 |
205 | 201 |
206 /* This macro is used to declare a "method", that is, a function pointer. | 202 /* This macro is used to declare a "method", that is, a function pointer. |
207 * We want to supply prototype parameters if the compiler can cope. | 203 * We want to supply prototype parameters if the compiler can cope. |
208 * Note that the arglist parameter must be parenthesized! | 204 * Note that the arglist parameter must be parenthesized! |
209 * Again, you can customize this if you need special linkage keywords. | 205 * Again, you can customize this if you need special linkage keywords. |
210 */ | 206 */ |
211 | 207 |
212 #ifdef HAVE_PROTOTYPES | 208 #ifdef HAVE_PROTOTYPES |
213 #define JMETHOD(type,methodname,arglist) type (*methodname) arglist | 209 #define JMETHOD(type,methodname,arglist) type (*methodname) arglist |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 | 363 |
368 #ifndef FAST_FLOAT | 364 #ifndef FAST_FLOAT |
369 #ifdef HAVE_PROTOTYPES | 365 #ifdef HAVE_PROTOTYPES |
370 #define FAST_FLOAT float | 366 #define FAST_FLOAT float |
371 #else | 367 #else |
372 #define FAST_FLOAT double | 368 #define FAST_FLOAT double |
373 #endif | 369 #endif |
374 #endif | 370 #endif |
375 | 371 |
376 #endif /* JPEG_INTERNAL_OPTIONS */ | 372 #endif /* JPEG_INTERNAL_OPTIONS */ |
OLD | NEW |