mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 10:58:58 +00:00
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.
This commit is contained in:
parent
fe769f2723
commit
651b51f056
@ -44,11 +44,15 @@ class Pl_QPDFTokenizer: public Pipeline
|
||||
// Whatever pipeline is provided as "next" will be set as the
|
||||
// pipeline that the token filter writes to. If next is not
|
||||
// provided, any output written by the filter will be discarded.
|
||||
QPDF_DLL
|
||||
Pl_QPDFTokenizer(char const* identifier,
|
||||
QPDFObjectHandle::TokenFilter* filter,
|
||||
Pipeline* next = 0);
|
||||
QPDF_DLL
|
||||
virtual ~Pl_QPDFTokenizer();
|
||||
QPDF_DLL
|
||||
virtual void write(unsigned char* buf, size_t len);
|
||||
QPDF_DLL
|
||||
virtual void finish();
|
||||
|
||||
private:
|
||||
@ -60,6 +64,7 @@ class Pl_QPDFTokenizer: public Pipeline
|
||||
friend class Pl_QPDFTokenizer;
|
||||
|
||||
public:
|
||||
QPDF_DLL
|
||||
~Members();
|
||||
|
||||
private:
|
||||
|
@ -1152,6 +1152,7 @@ class QPDF
|
||||
friend class QPDF;
|
||||
|
||||
public:
|
||||
QPDF_DLL
|
||||
~Members();
|
||||
|
||||
private:
|
||||
|
@ -100,6 +100,7 @@ class QPDFObject
|
||||
{
|
||||
friend class QPDFObject;
|
||||
public:
|
||||
QPDF_DLL
|
||||
~Members();
|
||||
private:
|
||||
Members();
|
||||
|
@ -530,6 +530,7 @@ class QPDFWriter
|
||||
friend class QPDFWriter;
|
||||
|
||||
public:
|
||||
QPDF_DLL
|
||||
~Members();
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user