aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/PCRE.hh
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2009-10-21 03:45:13 +0200
committerJay Berkenbilt <ejb@ql.org>2009-10-21 03:45:13 +0200
commit27ee889c0e74e84035c2c208c856729a16d866c7 (patch)
tree4a9562232e327ff2a9d18f947121ea6895d3b38b /libqpdf/qpdf/PCRE.hh
parent95753c6b534d22951e254f221802ba09d6d71077 (diff)
downloadqpdf-27ee889c0e74e84035c2c208c856729a16d866c7.tar.zst
tweak dll stuff again
git-svn-id: svn+q:///qpdf/trunk@851 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'libqpdf/qpdf/PCRE.hh')
-rw-r--r--libqpdf/qpdf/PCRE.hh30
1 files changed, 15 insertions, 15 deletions
diff --git a/libqpdf/qpdf/PCRE.hh b/libqpdf/qpdf/PCRE.hh
index 546c374d..5d1ae458 100644
--- a/libqpdf/qpdf/PCRE.hh
+++ b/libqpdf/qpdf/PCRE.hh
@@ -25,7 +25,7 @@ class PCRE
class NoBackref: public std::logic_error
{
public:
- DLL_EXPORT
+ QPDF_DLL
NoBackref();
virtual ~NoBackref() throw() {}
};
@@ -34,15 +34,15 @@ class PCRE
{
friend class PCRE;
public:
- DLL_EXPORT
+ QPDF_DLL
Match(int nbackrefs, char const* subject);
- DLL_EXPORT
+ QPDF_DLL
Match(Match const&);
- DLL_EXPORT
+ QPDF_DLL
Match& operator=(Match const&);
- DLL_EXPORT
+ QPDF_DLL
~Match();
- DLL_EXPORT
+ QPDF_DLL
operator bool();
// All the back reference accessing routines may throw the
@@ -54,13 +54,13 @@ class PCRE
// and not matching at all.
// see getMatch flags below
- DLL_EXPORT
+ QPDF_DLL
std::string getMatch(int n, int flags = 0);
- DLL_EXPORT
+ QPDF_DLL
void getOffsetLength(int n, int& offset, int& length);
- DLL_EXPORT
+ QPDF_DLL
int getOffset(int n);
- DLL_EXPORT
+ QPDF_DLL
int getLength(int n);
// nMatches returns the number of available matches including
@@ -70,7 +70,7 @@ class PCRE
// will return the whole string, getMatch(1) will return the
// text that matched the backreference, and getMatch(2) will
// throw an exception because it is out of range.
- DLL_EXPORT
+ QPDF_DLL
int nMatches() const;
// Flags for getMatch
@@ -93,16 +93,16 @@ class PCRE
// The value passed in as options is passed to pcre_exec. See man
// pcreapi for details.
- DLL_EXPORT
+ QPDF_DLL
PCRE(char const* pattern, int options = 0);
- DLL_EXPORT
+ QPDF_DLL
~PCRE();
- DLL_EXPORT
+ QPDF_DLL
Match match(char const* subject, int options = 0, int startoffset = 0,
int size = -1);
- DLL_EXPORT
+ QPDF_DLL
static void test(int n = 0);
private: