aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2018-08-05 02:08:06 +0200
committerJay Berkenbilt <ejb@ql.org>2018-08-05 02:08:06 +0200
commit651b51f0564d7726df09faf6ac0a0dd36e4fa65a (patch)
treee93a312f161c351b6d64afed7c6b248f5ed2ad0d /include
parentfe769f2723237596af2730bccd7972dab208a10d (diff)
downloadqpdf-651b51f0564d7726df09faf6ac0a0dd36e4fa65a.tar.zst
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.
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/Pl_QPDFTokenizer.hh5
-rw-r--r--include/qpdf/QPDF.hh1
-rw-r--r--include/qpdf/QPDFObject.hh1
-rw-r--r--include/qpdf/QPDFWriter.hh1
4 files changed, 8 insertions, 0 deletions
diff --git a/include/qpdf/Pl_QPDFTokenizer.hh b/include/qpdf/Pl_QPDFTokenizer.hh
index 65dc7919..7542b525 100644
--- a/include/qpdf/Pl_QPDFTokenizer.hh
+++ b/include/qpdf/Pl_QPDFTokenizer.hh
@@ -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:
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh
index 681d233c..0c439af8 100644
--- a/include/qpdf/QPDF.hh
+++ b/include/qpdf/QPDF.hh
@@ -1152,6 +1152,7 @@ class QPDF
friend class QPDF;
public:
+ QPDF_DLL
~Members();
private:
diff --git a/include/qpdf/QPDFObject.hh b/include/qpdf/QPDFObject.hh
index da54c027..ca2bf4b4 100644
--- a/include/qpdf/QPDFObject.hh
+++ b/include/qpdf/QPDFObject.hh
@@ -100,6 +100,7 @@ class QPDFObject
{
friend class QPDFObject;
public:
+ QPDF_DLL
~Members();
private:
Members();
diff --git a/include/qpdf/QPDFWriter.hh b/include/qpdf/QPDFWriter.hh
index 1802078a..4a2c34f9 100644
--- a/include/qpdf/QPDFWriter.hh
+++ b/include/qpdf/QPDFWriter.hh
@@ -530,6 +530,7 @@ class QPDFWriter
friend class QPDFWriter;
public:
+ QPDF_DLL
~Members();
private: