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

Unified Diff: samples/fx_lpng/lpng_v163/fx_pngmem.c

Issue 1589223002: Remove ifdefs for _FX_MANAGED_CODE_. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/libjpeg/fpdfapi_jchuff.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/fx_lpng/lpng_v163/fx_pngmem.c
diff --git a/samples/fx_lpng/lpng_v163/fx_pngmem.c b/samples/fx_lpng/lpng_v163/fx_pngmem.c
index 9be580322ada27006d2bf3d87bcd6c3f50b4bd7c..cbbd4db914fad4b405c74d723257f88f27f1c13a 100644
--- a/samples/fx_lpng/lpng_v163/fx_pngmem.c
+++ b/samples/fx_lpng/lpng_v163/fx_pngmem.c
@@ -18,17 +18,9 @@
#include "pngpriv.h"
-#if defined(_FX_MANAGED_CODE_) && defined(__cplusplus)
-extern "C" {
-#endif
-
void* FXMEM_DefaultAlloc(int byte_size, int);
void FXMEM_DefaultFree(void* pointer, int);
-#if defined(_FX_MANAGED_CODE_) && defined(__cplusplus)
-}
-#endif
-
#if defined(PNG_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED)
/* Free a png_struct */
void /* PRIVATE */
« no previous file with comments | « no previous file | third_party/libjpeg/fpdfapi_jchuff.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698