diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-05-12 17:28:08 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-05-12 17:28:08 -0700 |
commit | cf22eb8ac24d944aac08d6a17c12b8a3a602c6f5 (patch) | |
tree | 60da3c149c8587662c020c629c1d50ed7e4a859d /public/fpdf_save.h | |
parent | 12df7f730cea21885c177254bb2b4e1b9e1bea59 (diff) | |
download | pdfium-cf22eb8ac24d944aac08d6a17c12b8a3a602c6f5.tar.xz |
Merge to XFA: Make (and verify) public/ files compile under C.
The following files needed adjustment beyond a mechanical merge:
fpdfsdk/src/fpdfview.cpp
public/fpdf_formfill.h
samples/pdfium_test.cc
testing/embedder_test.cpp
Original Review URL: https://codereview.chromium.org/1130843003
BUG=pdfium:158
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1137233002
Diffstat (limited to 'public/fpdf_save.h')
-rw-r--r-- | public/fpdf_save.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/public/fpdf_save.h b/public/fpdf_save.h index 0909d5a447..28b169b0df 100644 --- a/public/fpdf_save.h +++ b/public/fpdf_save.h @@ -15,7 +15,7 @@ extern "C" { // Structure for custom file write -struct FPDF_FILEWRITE{ +typedef struct FPDF_FILEWRITE_ { // //Version number of the interface. Currently must be 1. @@ -38,9 +38,9 @@ struct FPDF_FILEWRITE{ // Return value: // Should be non-zero if successful, zero for error. // - int (*WriteBlock)( FPDF_FILEWRITE* pThis, const void* pData, unsigned long size); + int (*WriteBlock)(struct FPDF_FILEWRITE_* pThis, const void* pData, unsigned long size); -}; +} FPDF_FILEWRITE; /** @brief Incremental. */ |