diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-07-31 14:39:09 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-07-31 14:39:09 +0000 |
commit | e188596ef3e912f62e3ae85c8da905a54fc41d8b (patch) | |
tree | ebd384645bf62c640a04fe0308bcbac05e8087e0 /pcrecpp.h | |
parent | 235d0eb42c6281f0d8a1863f866c4d2722f0cdcf (diff) | |
download | pcre-e188596ef3e912f62e3ae85c8da905a54fc41d8b.tar.gz |
Daniel's patch for config.h and Windows DLL declarations (not fully working).
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@199 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcrecpp.h')
-rw-r--r-- | pcrecpp.h | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -331,11 +331,10 @@ #include <string> -#include <pcrecpparg.h> // defines the Arg class -// These aren't technically needed here, but we include them -// anyway so folks who include pcrecpp.h don't have to include -// all these other header files as well. #include <pcre.h> +#include <pcrecpparg.h> // defines the Arg class +// This isn't technically needed here, but we include it +// anyway so folks who include pcrecpp.h don't have to. #include <pcre_stringpiece.h> namespace pcrecpp { @@ -348,7 +347,7 @@ namespace pcrecpp { (all_options_ & o) == o // We convert user-passed pointers into special Arg objects -extern Arg no_arg; +PCRECPP_EXP_DECL Arg no_arg; /***** Compiling regular expressions: the RE class *****/ @@ -356,7 +355,7 @@ extern Arg no_arg; // along with other options we put on top of pcre. // Only 9 modifiers, plus match_limit and match_limit_recursion, // are supported now. -class RE_Options { +class PCRECPP_EXP_DECL RE_Options { public: // constructor RE_Options() : match_limit_(0), match_limit_recursion_(0), all_options_(0) {} @@ -488,7 +487,7 @@ static inline RE_Options EXTENDED() { // Interface for regular expression matching. Also corresponds to a // pre-compiled regular expression. An "RE" object is safe for // concurrent use by multiple threads. -class RE { +class PCRECPP_EXP_DECL RE { public: // We provide implicit conversions from strings so that users can // pass in a string or a "const char*" wherever an "RE" is expected. |