Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1366)

Side by Side Diff: third_party/libjpeg/jmorecfg.h

Issue 1591563002: XFA: Remove ifdefs for _FX_MANAGED_CODE_. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/libjpeg/fpdfapi_jmemnobs.c ('k') | third_party/lpng_v163/pngmem.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 */
OLDNEW
« no previous file with comments | « third_party/libjpeg/fpdfapi_jmemnobs.c ('k') | third_party/lpng_v163/pngmem.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698