aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/Buffer.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2009-08-06 21:00:25 +0200
committerJay Berkenbilt <ejb@ql.org>2009-08-06 21:00:25 +0200
commit1e74c03acd39c000103b843d5acd3c0313da443a (patch)
treec603b2c2bb95b46bc129a0c28e6f87c0bd84428a /libqpdf/Buffer.cc
parented13d9074ef79847a10cfcfca32963c0883a2eb5 (diff)
downloadqpdf-1e74c03acd39c000103b843d5acd3c0313da443a.tar.zst
stick DLL_EXPORT in front of every public method of every public class
git-svn-id: svn+q:///qpdf/trunk@688 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'libqpdf/Buffer.cc')
-rw-r--r--libqpdf/Buffer.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/libqpdf/Buffer.cc b/libqpdf/Buffer.cc
index 3dde1f90..dfed6010 100644
--- a/libqpdf/Buffer.cc
+++ b/libqpdf/Buffer.cc
@@ -3,22 +3,26 @@
#include <string.h>
+DLL_EXPORT
Buffer::Buffer()
{
init(0);
}
+DLL_EXPORT
Buffer::Buffer(unsigned long size)
{
init(size);
}
+DLL_EXPORT
Buffer::Buffer(Buffer const& rhs)
{
init(0);
copy(rhs);
}
+DLL_EXPORT
Buffer&
Buffer::operator=(Buffer const& rhs)
{
@@ -26,6 +30,7 @@ Buffer::operator=(Buffer const& rhs)
return *this;
}
+DLL_EXPORT
Buffer::~Buffer()
{
destroy();
@@ -60,18 +65,21 @@ Buffer::destroy()
this->buf = 0;
}
+DLL_EXPORT
unsigned long
Buffer::getSize() const
{
return this->size;
}
+DLL_EXPORT
unsigned char const*
Buffer::getBuffer() const
{
return this->buf;
}
+DLL_EXPORT
unsigned char*
Buffer::getBuffer()
{