Commit b6af616deaa1739a4cd1fba9f91e43c98ecb0b8a

Authored by Jay Berkenbilt
1 parent d6f50e98

dll-export functions for library test suite

git-svn-id: svn+q:///qpdf/trunk@696 71b93d88-0707-0410-a8cf-f5a4172ac649
libqpdf/Pl_ASCII85Decoder.cc
... ... @@ -3,6 +3,7 @@
3 3 #include <qpdf/QTC.hh>
4 4 #include <string.h>
5 5  
  6 +DLL_EXPORT
6 7 Pl_ASCII85Decoder::Pl_ASCII85Decoder(char const* identifier, Pipeline* next) :
7 8 Pipeline(identifier, next),
8 9 pos(0),
... ... @@ -11,10 +12,12 @@ Pl_ASCII85Decoder::Pl_ASCII85Decoder(char const* identifier, Pipeline* next) :
11 12 memset(this->inbuf, 117, 5);
12 13 }
13 14  
  15 +DLL_EXPORT
14 16 Pl_ASCII85Decoder::~Pl_ASCII85Decoder()
15 17 {
16 18 }
17 19  
  20 +DLL_EXPORT
18 21 void
19 22 Pl_ASCII85Decoder::write(unsigned char* buf, int len)
20 23 {
... ... @@ -123,6 +126,7 @@ Pl_ASCII85Decoder::flush()
123 126 memset(this->inbuf, 117, 5);
124 127 }
125 128  
  129 +DLL_EXPORT
126 130 void
127 131 Pl_ASCII85Decoder::finish()
128 132 {
... ...
libqpdf/qpdf/Pl_ASCII85Decoder.hh
... ... @@ -7,9 +7,13 @@
7 7 class Pl_ASCII85Decoder: public Pipeline
8 8 {
9 9 public:
  10 + DLL_EXPORT
10 11 Pl_ASCII85Decoder(char const* identifier, Pipeline* next);
  12 + DLL_EXPORT
11 13 virtual ~Pl_ASCII85Decoder();
  14 + DLL_EXPORT
12 15 virtual void write(unsigned char* buf, int len);
  16 + DLL_EXPORT
13 17 virtual void finish();
14 18  
15 19 private:
... ...