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