2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-22 10:58:58 +00:00

dll-export functions for library test suite

git-svn-id: svn+q:///qpdf/trunk@696 71b93d88-0707-0410-a8cf-f5a4172ac649
This commit is contained in:
Jay Berkenbilt 2009-09-26 15:01:30 +00:00
parent d6f50e98c3
commit b6af616dea
2 changed files with 8 additions and 0 deletions

View File

@ -3,6 +3,7 @@
#include <qpdf/QTC.hh>
#include <string.h>
DLL_EXPORT
Pl_ASCII85Decoder::Pl_ASCII85Decoder(char const* identifier, Pipeline* next) :
Pipeline(identifier, next),
pos(0),
@ -11,10 +12,12 @@ Pl_ASCII85Decoder::Pl_ASCII85Decoder(char const* identifier, Pipeline* next) :
memset(this->inbuf, 117, 5);
}
DLL_EXPORT
Pl_ASCII85Decoder::~Pl_ASCII85Decoder()
{
}
DLL_EXPORT
void
Pl_ASCII85Decoder::write(unsigned char* buf, int len)
{
@ -123,6 +126,7 @@ Pl_ASCII85Decoder::flush()
memset(this->inbuf, 117, 5);
}
DLL_EXPORT
void
Pl_ASCII85Decoder::finish()
{

View File

@ -7,9 +7,13 @@
class Pl_ASCII85Decoder: public Pipeline
{
public:
DLL_EXPORT
Pl_ASCII85Decoder(char const* identifier, Pipeline* next);
DLL_EXPORT
virtual ~Pl_ASCII85Decoder();
DLL_EXPORT
virtual void write(unsigned char* buf, int len);
DLL_EXPORT
virtual void finish();
private: