Commit 651b51f0564d7726df09faf6ac0a0dd36e4fa65a
1 parent
fe769f27
Add QPDF_DLL to public destructors (fixes #220)
A few public destructors were missing QPDF_DLL, which could cause some Windows applications to fail to link.
Showing
4 changed files
with
8 additions
and
0 deletions
include/qpdf/Pl_QPDFTokenizer.hh
| @@ -44,11 +44,15 @@ class Pl_QPDFTokenizer: public Pipeline | @@ -44,11 +44,15 @@ class Pl_QPDFTokenizer: public Pipeline | ||
| 44 | // Whatever pipeline is provided as "next" will be set as the | 44 | // Whatever pipeline is provided as "next" will be set as the |
| 45 | // pipeline that the token filter writes to. If next is not | 45 | // pipeline that the token filter writes to. If next is not |
| 46 | // provided, any output written by the filter will be discarded. | 46 | // provided, any output written by the filter will be discarded. |
| 47 | + QPDF_DLL | ||
| 47 | Pl_QPDFTokenizer(char const* identifier, | 48 | Pl_QPDFTokenizer(char const* identifier, |
| 48 | QPDFObjectHandle::TokenFilter* filter, | 49 | QPDFObjectHandle::TokenFilter* filter, |
| 49 | Pipeline* next = 0); | 50 | Pipeline* next = 0); |
| 51 | + QPDF_DLL | ||
| 50 | virtual ~Pl_QPDFTokenizer(); | 52 | virtual ~Pl_QPDFTokenizer(); |
| 53 | + QPDF_DLL | ||
| 51 | virtual void write(unsigned char* buf, size_t len); | 54 | virtual void write(unsigned char* buf, size_t len); |
| 55 | + QPDF_DLL | ||
| 52 | virtual void finish(); | 56 | virtual void finish(); |
| 53 | 57 | ||
| 54 | private: | 58 | private: |
| @@ -60,6 +64,7 @@ class Pl_QPDFTokenizer: public Pipeline | @@ -60,6 +64,7 @@ class Pl_QPDFTokenizer: public Pipeline | ||
| 60 | friend class Pl_QPDFTokenizer; | 64 | friend class Pl_QPDFTokenizer; |
| 61 | 65 | ||
| 62 | public: | 66 | public: |
| 67 | + QPDF_DLL | ||
| 63 | ~Members(); | 68 | ~Members(); |
| 64 | 69 | ||
| 65 | private: | 70 | private: |
include/qpdf/QPDF.hh
include/qpdf/QPDFObject.hh