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/fpdfview.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/fpdfview.h')
-rw-r--r-- | public/fpdfview.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/fpdfview.h b/public/fpdfview.h index d0b745ccfa..18acc6e25d 100644 --- a/public/fpdfview.h +++ b/public/fpdfview.h @@ -738,7 +738,7 @@ DLLEXPORT FPDF_DWORD STDCALL FPDF_CountNamedDests(FPDF_DOCUMENT document); // Return value: // The handle of the dest. // -DLLEXPORT FPDF_DEST STDCALL FPDF_GetNamedDestByName(FPDF_DOCUMENT document,FPDF_BYTESTRING name); +DLLEXPORT FPDF_DEST STDCALL FPDF_GetNamedDestByName(FPDF_DOCUMENT document, FPDF_BYTESTRING name); // Function: FPDF_GetNamedDest // Get the specified named destinations of the PDF document by index. @@ -755,7 +755,7 @@ DLLEXPORT FPDF_DEST STDCALL FPDF_GetNamedDestByName(FPDF_DOCUMENT document,FPDF_ // 2) Second time pass in allocated |buffer| and buflen to retrieve |buffer|, which should be used as wchar_t*. // If buflen is not sufficiently large, it will be set to -1 upon return. // -DLLEXPORT FPDF_DEST STDCALL FPDF_GetNamedDest(FPDF_DOCUMENT document, int index, void* buffer, long& buflen); +DLLEXPORT FPDF_DEST STDCALL FPDF_GetNamedDest(FPDF_DOCUMENT document, int index, void* buffer, long* buflen); // Function: FPDF_BStr_Init // Helper function to initialize a byte string. |