diff options
Diffstat (limited to 'testing/test_support.h')
-rw-r--r-- | testing/test_support.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/test_support.h b/testing/test_support.h index b734bc31f0..f175811078 100644 --- a/testing/test_support.h +++ b/testing/test_support.h @@ -115,6 +115,12 @@ class TestSaver : public FPDF_FILEWRITE { void ClearString(); const std::string& GetString() const { return m_String; } + protected: + static int GetBlockFromString(void* param, + unsigned long pos, + unsigned char* buf, + unsigned long size); + private: static int WriteBlockCallback(FPDF_FILEWRITE* pFileWrite, const void* data, |