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