aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/BitStream.hh
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2009-10-21 02:27:24 +0200
committerJay Berkenbilt <ejb@ql.org>2009-10-21 02:27:24 +0200
commit748ab301d4f17c77393b08de4ef541b957bde275 (patch)
tree5801b2c2f64a3ea3873bfd46fb3ac0cfeb9cc411 /libqpdf/qpdf/BitStream.hh
parenteff113fa6891387fc16c179ab5ef6f15674513ec (diff)
downloadqpdf-748ab301d4f17c77393b08de4ef541b957bde275.tar.zst
go back to function-based DLL_EXPORT rather than class-based to avoid creation of export files with executables under msvc
git-svn-id: svn+q:///qpdf/trunk@849 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'libqpdf/qpdf/BitStream.hh')
-rw-r--r--libqpdf/qpdf/BitStream.hh6
1 files changed, 5 insertions, 1 deletions
diff --git a/libqpdf/qpdf/BitStream.hh b/libqpdf/qpdf/BitStream.hh
index b4b3ad02..75fc3db9 100644
--- a/libqpdf/qpdf/BitStream.hh
+++ b/libqpdf/qpdf/BitStream.hh
@@ -5,12 +5,16 @@
#include <qpdf/DLL.h>
-class DLL_EXPORT BitStream
+class BitStream
{
public:
+ DLL_EXPORT
BitStream(unsigned char const* p, int nbytes);
+ DLL_EXPORT
void reset();
+ DLL_EXPORT
unsigned long getBits(int nbits);
+ DLL_EXPORT
void skipToNextByte();
private: