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. */ |