]> git.tdb.fi Git - libs/core.git/blobdiff - source/strings/regex.h
Add decorations for things which are considered part of the API
[libs/core.git] / source / strings / regex.h
index acc842bc6e969807eac2e156be5ca5161df689d6..42c1e01a6951a4c3229c4d5b9eadad18bc119d0d 100644 (file)
@@ -3,11 +3,12 @@
 
 #include <stdexcept>
 #include <string>
+#include <msp/core/mspcore_api.h>
 #include "regmatch.h"
 
 namespace Msp {
 
-class bad_regex: public std::logic_error
+class MSPCORE_API bad_regex: public std::logic_error
 {
 public:
        bad_regex(const std::string &, const std::string &, const std::string::const_iterator &);
@@ -69,7 +70,7 @@ a bitmask.
 
 The MATCH_ANY instruction consumes the input character and always succeeds.
 */
-class Regex
+class MSPCORE_API Regex
 {
 private:
        typedef std::basic_string<unsigned char> Code;