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 | 44 | // Whatever pipeline is provided as "next" will be set as the |
| 45 | 45 | // pipeline that the token filter writes to. If next is not |
| 46 | 46 | // provided, any output written by the filter will be discarded. |
| 47 | + QPDF_DLL | |
| 47 | 48 | Pl_QPDFTokenizer(char const* identifier, |
| 48 | 49 | QPDFObjectHandle::TokenFilter* filter, |
| 49 | 50 | Pipeline* next = 0); |
| 51 | + QPDF_DLL | |
| 50 | 52 | virtual ~Pl_QPDFTokenizer(); |
| 53 | + QPDF_DLL | |
| 51 | 54 | virtual void write(unsigned char* buf, size_t len); |
| 55 | + QPDF_DLL | |
| 52 | 56 | virtual void finish(); |
| 53 | 57 | |
| 54 | 58 | private: |
| ... | ... | @@ -60,6 +64,7 @@ class Pl_QPDFTokenizer: public Pipeline |
| 60 | 64 | friend class Pl_QPDFTokenizer; |
| 61 | 65 | |
| 62 | 66 | public: |
| 67 | + QPDF_DLL | |
| 63 | 68 | ~Members(); |
| 64 | 69 | |
| 65 | 70 | private: | ... | ... |
include/qpdf/QPDF.hh
include/qpdf/QPDFObject.hh