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

Unified Diff: public/fpdf_save.h

Issue 1137233002: Merge to XFA: Make (and verify) public/ files compile under C. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Test new XFA APIs. Created 5 years, 7 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 | « public/fpdf_fwlevent.h ('k') | public/fpdf_transformpage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/fpdf_save.h
diff --git a/public/fpdf_save.h b/public/fpdf_save.h
index 0909d5a44703a2524ebd4f3e00d740fbc2b9d6dd..28b169b0df869070315ad81103d29e422b837c18 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. */
« no previous file with comments | « public/fpdf_fwlevent.h ('k') | public/fpdf_transformpage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698