summaryrefslogtreecommitdiffstats
path: root/Source/JavaScriptCore/runtime/RegExp.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2012-02-03 09:55:33 +0100
committerSimon Hausmann <simon.hausmann@nokia.com>2012-02-03 09:55:33 +0100
commitcd44dc59cdfc39534aef4d417e9f3c412e3be139 (patch)
tree8d89889ba95ed6ec9322e733846cc9cce9d7dff1 /Source/JavaScriptCore/runtime/RegExp.h
parentd11f84f5b5cdc0d92a08af01b13472fdd5f9acb9 (diff)
Imported WebKit commit fce473cb4d55aa9fe9d0b0322a2fffecb731b961 (http://svn.webkit.org/repository/webkit/trunk@106560)
Diffstat (limited to 'Source/JavaScriptCore/runtime/RegExp.h')
-rw-r--r--Source/JavaScriptCore/runtime/RegExp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/JavaScriptCore/runtime/RegExp.h b/Source/JavaScriptCore/runtime/RegExp.h
index 65eb48499..d0201cbfb 100644
--- a/Source/JavaScriptCore/runtime/RegExp.h
+++ b/Source/JavaScriptCore/runtime/RegExp.h
@@ -35,13 +35,13 @@ namespace JSC {
struct RegExpRepresentation;
class JSGlobalData;
- RegExpFlags regExpFlags(const UString&);
+ JS_EXPORT_PRIVATE RegExpFlags regExpFlags(const UString&);
class RegExp : public JSCell {
public:
typedef JSCell Base;
- static RegExp* create(JSGlobalData&, const UString& pattern, RegExpFlags);
+ JS_EXPORT_PRIVATE static RegExp* create(JSGlobalData&, const UString& pattern, RegExpFlags);
static void destroy(JSCell*);
bool global() const { return m_flags & FlagGlobal; }
@@ -53,7 +53,7 @@ namespace JSC {
bool isValid() const { return !m_constructionError && m_flags != InvalidFlags; }
const char* errorMessage() const { return m_constructionError; }
- int match(JSGlobalData&, const UString&, int startOffset, Vector<int, 32>* ovector = 0);
+ JS_EXPORT_PRIVATE int match(JSGlobalData&, const UString&, unsigned startOffset, Vector<int, 32>* ovector = 0);
unsigned numSubpatterns() const { return m_numSubpatterns; }
bool hasCode()
@@ -72,7 +72,7 @@ namespace JSC {
return Structure::create(globalData, globalObject, prototype, TypeInfo(LeafType, 0), &s_info);
}
- static JS_EXPORTDATA const ClassInfo s_info;
+ static const ClassInfo s_info;
RegExpKey key() { return RegExpKey(m_flags, m_patternString); }